Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java b/chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java |
| index f317c4a0a17a1c6b0a29ae74eb8c5fb8563d81d0..71ae2fecad3e21d811cdbc247316259269a98d4f 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java |
| @@ -110,9 +110,10 @@ public class MostVisitedSites { |
| * tile that's currently showing. |
| * @param sources An array of values from NTPTileSource indicating the source of each tile |
| * that's currently showing. |
| + * @param tileUrls An array of strings indicating the URL of each tile |
|
Marc Treib
2016/12/08 12:58:22
nitty nit: end comment with "."
mastiz
2016/12/08 13:47:07
Done.
|
| */ |
| - public void recordPageImpression(int[] tileTypes, int[] sources) { |
| - nativeRecordPageImpression(mNativeMostVisitedSitesBridge, tileTypes, sources); |
| + public void recordPageImpression(int[] tileTypes, int[] sources, String[] tileUrls) { |
| + nativeRecordPageImpression(mNativeMostVisitedSitesBridge, tileTypes, sources, tileUrls); |
| } |
| /** |
| @@ -131,8 +132,8 @@ public class MostVisitedSites { |
| private native void nativeAddOrRemoveBlacklistedUrl( |
| long nativeMostVisitedSitesBridge, String url, |
| boolean addUrl); |
| - private native void nativeRecordPageImpression(long nativeMostVisitedSitesBridge, |
| - int[] tileTypes, int[] sources); |
| + private native void nativeRecordPageImpression( |
| + long nativeMostVisitedSitesBridge, int[] tileTypes, int[] sources, String[] tileUrls); |
| private native void nativeRecordOpenedMostVisitedItem( |
| long nativeMostVisitedSitesBridge, int index, int tileType, int source); |
| } |