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

Unified Diff: chrome/browser/ui/webui/signin/sync_confirmation_handler.h

Issue 1806353002: Enhanced Sync Confirmation modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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: chrome/browser/ui/webui/signin/sync_confirmation_handler.h
diff --git a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
index 7ad4a3c80d088b0c0bcf91e968a4a99b72bafaa2..1e102ab72e5b3a9624e19106620505c501643300 100644
--- a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
+++ b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
@@ -56,9 +56,14 @@ class SyncConfirmationHandler : public content::WebUIMessageHandler,
virtual void SetUserImageURL(const std::string& url);
Browser* GetDesktopBrowser();
- void CloseModalSigninWindow(
- LoginUIService::SyncConfirmationUIClosedResults results);
+ // Closes the modal signin window and calls
+ // LoginUIService::SyncConfirmationUIClosed with |result|. |result| is a
+ // bitmask for the LoginUIService::SyncConfirmationUIClosedResult enum that
+ // indicates the options chosen by the user in the sync confirmation dialog.
+ void CloseModalSigninWindow(uint32_t result);
+
+ private:
DISALLOW_COPY_AND_ASSIGN(SyncConfirmationHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service.cc ('k') | chrome/browser/ui/webui/signin/sync_confirmation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698