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

Side by Side Diff: chrome/browser/sync/sync_setup_flow.h

Issue 7508036: Added support for setting gaia_passphrase in SyncSetupFlow::OnUserConfigured. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 15 matching lines...) Expand all
26 // by multiple stages of the wizard. 26 // by multiple stages of the wizard.
27 struct SyncConfiguration { 27 struct SyncConfiguration {
28 SyncConfiguration(); 28 SyncConfiguration();
29 ~SyncConfiguration(); 29 ~SyncConfiguration();
30 30
31 bool encrypt_all; 31 bool encrypt_all;
32 bool sync_everything; 32 bool sync_everything;
33 syncable::ModelTypeSet data_types; 33 syncable::ModelTypeSet data_types;
34 bool use_secondary_passphrase; 34 bool use_secondary_passphrase;
35 std::string secondary_passphrase; 35 std::string secondary_passphrase;
36 std::string gaia_passphrase;
36 }; 37 };
37 38
38 // The state machine used by SyncSetupWizard, exposed in its own header 39 // The state machine used by SyncSetupWizard, exposed in its own header
39 // to facilitate testing of SyncSetupWizard. This class is used to open and 40 // to facilitate testing of SyncSetupWizard. This class is used to open and
40 // run the sync setup overlay in tabbed options and deletes itself when the 41 // run the sync setup overlay in tabbed options and deletes itself when the
41 // overlay closes. 42 // overlay closes.
42 class SyncSetupFlow { 43 class SyncSetupFlow {
43 public: 44 public:
44 virtual ~SyncSetupFlow(); 45 virtual ~SyncSetupFlow();
45 46
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 153 }
153 154
154 SyncSetupFlow* get_flow() { return flow_; } 155 SyncSetupFlow* get_flow() { return flow_; }
155 private: 156 private:
156 SyncSetupFlow* flow_; 157 SyncSetupFlow* flow_;
157 158
158 DISALLOW_COPY_AND_ASSIGN(SyncSetupFlowContainer); 159 DISALLOW_COPY_AND_ASSIGN(SyncSetupFlowContainer);
159 }; 160 };
160 161
161 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 162 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698