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

Unified Diff: chrome/browser/ui/webui/welcome_handler_android.h

Issue 22375004: Ensure sync footer visibility is always set correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/welcome_handler_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/welcome_handler_android.h
diff --git a/chrome/browser/ui/webui/welcome_handler_android.h b/chrome/browser/ui/webui/welcome_handler_android.h
index 64fcdf2dbdfeb57acc1ca5210d8773da4a4874f7..b22f8958a2dffd48596407077313581a6f31fed0 100644
--- a/chrome/browser/ui/webui/welcome_handler_android.h
+++ b/chrome/browser/ui/webui/welcome_handler_android.h
@@ -40,6 +40,11 @@ class WelcomeHandler : public content::WebUIMessageHandler,
virtual void OnStateChanged() OVERRIDE;
private:
+ // Update the sync footer visibility. Set |forced| if you want to force to
+ // send an update to the renderer regardless of whether we assume the state
+ // is up to date or not.
+ void UpdateSyncFooterVisibility(bool forced);
+
// Cached pointer to the sync service for this profile.
ProfileSyncService* sync_service_;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/welcome_handler_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698