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

Unified Diff: chrome/browser/sync/sync_setup_flow.h

Issue 6364009: From the enter-passphrase screen in sync setup, canceling should only disable... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/sync/sync_setup_flow.h
===================================================================
--- chrome/browser/sync/sync_setup_flow.h (revision 72509)
+++ chrome/browser/sync/sync_setup_flow.h (working copy)
@@ -111,6 +111,9 @@
// an existing passphrase.
void OnPassphraseEntry(const std::string& passphrase);
+ // The user canceled the passphrase entry without supplying a passphrase.
+ void OnPassphraseCancel();
+
// The 'first passphrase' screen is for users migrating from a build
// without passwords, who are prompted to make a passphrase choice.
void OnFirstPassphraseEntry(const std::string& option,
@@ -156,7 +159,7 @@
FlowHandler* flow_handler_;
mutable bool owns_flow_handler_;
- // We need this to write the sentinel "setup completed" pref.
+ // We need this to propagate back all user settings changes.
ProfileSyncService* service_;
// Currently used only on OS X
@@ -200,6 +203,7 @@
void HandleSubmitAuth(const ListValue* args);
void HandleConfigure(const ListValue* args);
void HandlePassphraseEntry(const ListValue* args);
+ void HandlePassphraseCancel(const ListValue* args);
void HandleFirstPassphrase(const ListValue* args);
void HandleGoToDashboard(const ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698