Index: chrome/browser/ui/webui/ntp/most_visited_handler.h |
diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.h b/chrome/browser/ui/webui/ntp/most_visited_handler.h |
index 37f20e1eea7db7cd50262468cb4a70aac0ca7a38..fe5784a82b362bd7c6825a1a6ecb0d16e3e53f49 100644 |
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.h |
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.h |
@@ -90,9 +90,10 @@ class MostVisitedHandler : public content::WebUIMessageHandler, |
// Returns the key used in url_blacklist_ for the passed |url|. |
std::string GetDictionaryKeyForUrl(const std::string& url); |
- // Looks at the browser's currently open URLs and removes any matching URLs |
- // from |pages_value_|. |
- void RemovePageValuesMatchingOpenTabs(); |
+ // Removes recommended URLs if a matching URL is already open in the Browser, |
+ // if the Most Visited Tile Placement experiment is enabled, and the client is |
+ // in the experiment group. |
+ void MaybeRemovePageValues(); |
// Sends pages_value_ to the javascript side and resets page_value_. |
void SendPagesValue(); |