add point of interest API

R=bsalomon@google.com

Review URL: https://codereview.chromium.org/18176005

git-svn-id: http://skia.googlecode.com/svn/trunk@9806 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/skpdiff/SkPMetric.h b/experimental/skpdiff/SkPMetric.h
index fb32db5..5963c2f 100644
--- a/experimental/skpdiff/SkPMetric.h
+++ b/experimental/skpdiff/SkPMetric.h
@@ -8,6 +8,7 @@
 #ifndef SkPMetric_DEFINED
 #define SkPMetric_DEFINED
 
+#include "SkTArray.h"
 #include "SkTDArray.h"
 
 #include "SkImageDiffer.h"
@@ -19,16 +20,20 @@
 public:
     virtual const char* getName() SK_OVERRIDE;
     virtual int queueDiff(SkBitmap* baseline, SkBitmap* test) SK_OVERRIDE;
+    virtual void deleteDiff(int id) SK_OVERRIDE;
     virtual bool isFinished(int id) SK_OVERRIDE;
     virtual double getResult(int id) SK_OVERRIDE;
+    virtual int getPointsOfInterestCount(int id) SK_OVERRIDE;
+    virtual SkIPoint* getPointsOfInterest(int id) SK_OVERRIDE;
 
 private:
     struct QueuedDiff {
         bool finished;
         double result;
+        SkTDArray<SkIPoint> poi;
     };
 
-    SkTDArray<QueuedDiff> fQueuedDiffs;
+    SkTArray<QueuedDiff> fQueuedDiffs;
 
     typedef SkImageDiffer INHERITED;
 };