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

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

Issue 3792007: Fix some problems with the ENTER_PASSPHRASE state in sync setup.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « chrome/browser/sync/resources/setting_up.html ('k') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, InitialStepLogin); 117 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, InitialStepLogin);
118 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, ChooseDataTypesSetsPrefs); 118 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, ChooseDataTypesSetsPrefs);
119 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DialogCancelled); 119 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DialogCancelled);
120 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, InvalidTransitions); 120 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, InvalidTransitions);
121 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, FullSuccessfulRunSetsPref); 121 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, FullSuccessfulRunSetsPref);
122 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, AbortedByPendingClear); 122 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, AbortedByPendingClear);
123 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DiscreteRunGaiaLogin); 123 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DiscreteRunGaiaLogin);
124 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DiscreteRunChooseDataTypes); 124 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, DiscreteRunChooseDataTypes);
125 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, 125 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest,
126 DiscreteRunChooseDataTypesAbortedByPendingClear); 126 DiscreteRunChooseDataTypesAbortedByPendingClear);
127 FRIEND_TEST_ALL_PREFIXES(SyncSetupWizardTest, EnterPassphraseRequired);
127 128
128 // Use static Run method to get an instance. 129 // Use static Run method to get an instance.
129 SyncSetupFlow(SyncSetupWizard::State start_state, 130 SyncSetupFlow(SyncSetupWizard::State start_state,
130 SyncSetupWizard::State end_state, 131 SyncSetupWizard::State end_state,
131 const std::string& args, SyncSetupFlowContainer* container, 132 const std::string& args, SyncSetupFlowContainer* container,
132 ProfileSyncService* service); 133 ProfileSyncService* service);
133 134
134 // Returns true if |this| should transition its state machine to |state| 135 // Returns true if |this| should transition its state machine to |state|
135 // based on |current_state_|, or false if that would be nonsense or is 136 // based on |current_state_|, or false if that would be nonsense or is
136 // a no-op. 137 // a no-op.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 215 }
215 216
216 private: 217 private:
217 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, 218 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath,
218 const std::wstring& js); 219 const std::wstring& js);
219 SyncSetupFlow* flow_; 220 SyncSetupFlow* flow_;
220 DISALLOW_COPY_AND_ASSIGN(FlowHandler); 221 DISALLOW_COPY_AND_ASSIGN(FlowHandler);
221 }; 222 };
222 223
223 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ 224 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/resources/setting_up.html ('k') | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698