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

Unified Diff: components/google/core/browser/google_url_tracker.h

Issue 2799083003: Replace manual GoogleURLTracker update request with call to utility function. (Closed)
Patch Set: Remove unneeded #includes Created 3 years, 8 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: components/google/core/browser/google_url_tracker.h
diff --git a/components/google/core/browser/google_url_tracker.h b/components/google/core/browser/google_url_tracker.h
index 27496a6af7901dd006d05efb9a341132911308c7..5d0ba62a4e3744aa183d0b974a063f1f53f214f7 100644
--- a/components/google/core/browser/google_url_tracker.h
+++ b/components/google/core/browser/google_url_tracker.h
@@ -65,13 +65,11 @@ class GoogleURLTracker
const GURL& google_url() const { return google_url_; }
// Requests that the tracker perform a server check to update the Google URL
- // as necessary. If |force| is false, this will happen at most once per
- // network change, not sooner than five seconds after startup (checks
- // requested before that time will occur then; checks requested afterwards
- // will occur immediately, if no other checks have been made during this run).
- // If |force| is true, and the tracker has already performed any requested
- // check, it will check again.
- void RequestServerCheck(bool force);
+ // as necessary. This will happen at most once per network change, not sooner
+ // than five seconds after startup (checks requested before that time will
+ // occur then; checks requested afterwards will occur immediately, if no other
+ // checks have been made during this run).
+ void RequestServerCheck();
std::unique_ptr<Subscription> RegisterCallback(
const OnGoogleURLUpdatedCallback& cb);
« no previous file with comments | « chrome/browser/ui/navigation_correction_tab_observer.cc ('k') | components/google/core/browser/google_url_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698