| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/MostVisitedItem.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/MostVisitedItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/MostVisitedItem.java
|
| index 1eaecdbd1d95fa949803987388d8fd82a0919e3b..0207bc294cbd2ccbaa6efc51404526f31fb18a27 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/MostVisitedItem.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/MostVisitedItem.java
|
| @@ -54,7 +54,6 @@ public class MostVisitedItem implements OnCreateContextMenuListener,
|
| private int mIndex;
|
| private int mTileType;
|
| private int mSource;
|
| - private int mProviderIndex;
|
| private View mView;
|
|
|
| /**
|
| @@ -69,12 +68,9 @@ public class MostVisitedItem implements OnCreateContextMenuListener,
|
| * @param offlineAvailable Whether there is an offline copy of the URL available.
|
| * @param index The index of this item in the list of most visited items.
|
| * @param source The {@link MostVisitedSource} that generated this item.
|
| - * @param providerIndex If this item comes from {@code MostVisitedSource.SUGGESTIONS_SERVICE},
|
| - * this is the index of the source of the suggestion.
|
| */
|
| public MostVisitedItem(MostVisitedItemManager manager, String title, String url,
|
| - String whitelistIconPath, boolean offlineAvailable, int index, int source,
|
| - int providerIndex) {
|
| + String whitelistIconPath, boolean offlineAvailable, int index, int source) {
|
| mManager = manager;
|
| mTitle = title;
|
| mUrl = url;
|
| @@ -83,7 +79,6 @@ public class MostVisitedItem implements OnCreateContextMenuListener,
|
| mIndex = index;
|
| mTileType = MostVisitedTileType.NONE;
|
| mSource = source;
|
| - mProviderIndex = index;
|
| }
|
|
|
| /**
|
| @@ -170,13 +165,6 @@ public class MostVisitedItem implements OnCreateContextMenuListener,
|
| return mSource;
|
| }
|
|
|
| - /**
|
| - * @return The provider index of this item. Used for metrics tracking.
|
| - */
|
| - public int getProviderIndex() {
|
| - return mProviderIndex;
|
| - }
|
| -
|
| @Override
|
| public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
| mManager.onCreateContextMenu(menu, this);
|
|
|