Add id in GpuBenchmarking.PointerActionSequence's input

In order to match with Webdriver's Actions API, we need to add an id
for each pointer.

The format is for each action:
{id, type of the pointer, action type, target or x/y, duration}

Bug: 877507
Change-Id: I507326882de92777485c425f87b7e614ac6ac363
Reviewed-on: https://chromium-review.googlesource.com/1188428
Reviewed-by: Nasko Oskov <[email protected]>
Reviewed-by: Navid Zolghadr <[email protected]>
Reviewed-by: Dave Tapuska <[email protected]>
Commit-Queue: Lan Wei <[email protected]>
Cr-Commit-Position: refs/heads/master@{#591743}
diff --git a/content/browser/renderer_host/input/synthetic_touch_driver.h b/content/browser/renderer_host/input/synthetic_touch_driver.h
index 3f8102a..bd2e8ec 100644
--- a/content/browser/renderer_host/input/synthetic_touch_driver.h
+++ b/content/browser/renderer_host/input/synthetic_touch_driver.h
@@ -37,13 +37,13 @@
       const SyntheticPointerActionParams& params) const override;
 
  private:
-  using IndexMap = std::array<int, blink::WebTouchEvent::kTouchesLengthCap>;
+  using PointerIdIndexMap = std::map<int, int>;
 
-  void ResetIndexMap();
+  void ResetPointerIdIndexMap();
   int GetIndexFromMap(int value) const;
 
   SyntheticWebTouchEvent touch_event_;
-  IndexMap index_map_;
+  PointerIdIndexMap pointer_id_map_;
 
   DISALLOW_COPY_AND_ASSIGN(SyntheticTouchDriver);
 };