| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chrome.browser.ntp; | 5 package org.chromium.chrome.browser.ntp; |
| 6 | 6 |
| 7 import org.chromium.base.ThreadUtils; | 7 import org.chromium.base.ThreadUtils; |
| 8 import org.chromium.chrome.browser.profiles.MostVisitedSites; | 8 import org.chromium.chrome.browser.profiles.MostVisitedSites; |
| 9 import org.chromium.chrome.browser.profiles.Profile; | 9 import org.chromium.chrome.browser.profiles.Profile; |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 public boolean isUrlBlacklisted(String url) { | 66 public boolean isUrlBlacklisted(String url) { |
| 67 return mBlacklistedUrls.contains(url); | 67 return mBlacklistedUrls.contains(url); |
| 68 } | 68 } |
| 69 | 69 |
| 70 @Override | 70 @Override |
| 71 public void recordTileTypeMetrics(int[] tileTypes, int[] sources) { | 71 public void recordTileTypeMetrics(int[] tileTypes, int[] sources) { |
| 72 // Metrics are stubbed out. | 72 // Metrics are stubbed out. |
| 73 } | 73 } |
| 74 | 74 |
| 75 @Override | 75 @Override |
| 76 public void recordOpenedMostVisitedItem(int index, int tileType) { | 76 public void recordOpenedMostVisitedItem(int index, int tileType, int source)
{ |
| 77 // Metrics are stubbed out. | 77 // Metrics are stubbed out. |
| 78 } | 78 } |
| 79 } | 79 } |
| OLD | NEW |