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

Unified Diff: components/suggestions/suggestions_service.h

Issue 473123002: [Most Visited] Check for Sync state when using SuggestionsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean Created 6 years, 4 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/suggestions/suggestions_service.h
diff --git a/components/suggestions/suggestions_service.h b/components/suggestions/suggestions_service.h
index 3aa03a0185db6ec39a072505c44a7d177048ab05..7fa4d292fb2025d996891b3171ab0be32b70df08 100644
--- a/components/suggestions/suggestions_service.h
+++ b/components/suggestions/suggestions_service.h
@@ -69,7 +69,9 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate {
// we place all |callback|s in a queue and update them simultaneously when
// fetch request completes. Also posts a task to execute OnRequestTimeout
// if the request hasn't completed in a given amount of time.
- void FetchSuggestionsData(ResponseCallback callback);
+ void FetchSuggestionsData(bool sync_initialized,
+ bool history_sync_enabled,
+ ResponseCallback callback);
// Similar to FetchSuggestionsData but doesn't post a task to execute
// OnDelaySinceFetch.

Powered by Google App Engine
This is Rietveld 408576698