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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 701973002: Separate checking the user identity and checking if the user is syncing his history in two differen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index cf0ea52d61b5cb4724ba51fe56b4392ba23dcece..4865041d53292c5cd4561c8e93431643bab918ba 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -40,6 +40,9 @@ class SearchBox : public content::RenderViewObserver,
// Sends ChromeViewHostMsg_ChromeIdentityCheck to the browser.
void CheckIsUserSignedInToChromeAs(const base::string16& identity);
+ // Sends ChromeViewHostMsg_CheckUserSyncHistory to the browser.
+ void CheckUserSyncHistory();
+
// Sends ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem to the browser.
void DeleteMostVisitedItem(InstantRestrictedID most_visited_item_id);
@@ -132,6 +135,7 @@ class SearchBox : public content::RenderViewObserver,
void OnSubmit(const base::string16& query);
void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
void OnToggleVoiceSearch();
+ void OnCheckUserSyncHistoryResult(bool sync_history);
// Returns the current zoom factor of the render view or 1 on failure.
double GetZoom() const;

Powered by Google App Engine
This is Rietveld 408576698