Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: chrome/browser/ui/webui/ntp/most_visited_handler.h

Issue 17114002: Field trial removing tiles from NTP if URL is already open - for 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..50c763b27ef2d76181f5abb649ac4c916f4d913c 100644
--- a/chrome/browser/ui/webui/ntp/most_visited_handler.h
+++ b/chrome/browser/ui/webui/ntp/most_visited_handler.h
@@ -90,9 +90,9 @@ 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();
+ // Experiment that removes recommended URLs if a matching URL is already open
+ // in the Browser.
beaudoin 2013/06/20 21:55:44 Same here.
annark1 2013/07/04 18:29:15 Done.
+ void MaybeRemovePageValues();
// Sends pages_value_ to the javascript side and resets page_value_.
void SendPagesValue();

Powered by Google App Engine
This is Rietveld 408576698