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 0fc412655d921dbcee216974eb6ad940d44800f7..756d401a524a970d6bdbfc3e854ffbb73909dbde 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(); |