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

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

Issue 279004: Made sync code build and pass unit tests on OS X. (Closed)
Patch Set: Fixed uninitialized var error. Created 11 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
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 #ifdef CHROME_PERSONALIZATION 5 #ifdef CHROME_PERSONALIZATION
6 6
7 #ifndef CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 7 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
8 #define CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 8 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "app/l10n_util.h" 13 #include "app/l10n_util.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "chrome/browser/dom_ui/html_dialog_ui.h" 15 #include "chrome/browser/dom_ui/html_dialog_ui.h"
16 #include "chrome/browser/sync/profile_sync_service.h" 16 #include "chrome/browser/sync/profile_sync_service.h"
17 #include "chrome/browser/views/sync/sync_setup_wizard.h" 17 #include "chrome/browser/sync/sync_setup_wizard.h"
18 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
19 #include "testing/gtest/include/gtest/gtest_prod.h" 19 #include "testing/gtest/include/gtest/gtest_prod.h"
20 20
21 class FlowHandler; 21 class FlowHandler;
22 class SyncSetupFlowContainer; 22 class SyncSetupFlowContainer;
23 23
24 // The state machine used by SyncSetupWizard, exposed in its own header 24 // The state machine used by SyncSetupWizard, exposed in its own header
25 // to facilitate testing of SyncSetupWizard. This class is used to open and 25 // to facilitate testing of SyncSetupWizard. This class is used to open and
26 // run the html dialog and deletes itself when the dialog closes. 26 // run the html dialog and deletes itself when the dialog closes.
27 class SyncSetupFlow : public HtmlDialogUIDelegate { 27 class SyncSetupFlow : public HtmlDialogUIDelegate {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 flow_ = flow; 178 flow_ = flow;
179 } 179 }
180 180
181 private: 181 private:
182 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, 182 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath,
183 const std::wstring& js); 183 const std::wstring& js);
184 SyncSetupFlow* flow_; 184 SyncSetupFlow* flow_;
185 DISALLOW_COPY_AND_ASSIGN(FlowHandler); 185 DISALLOW_COPY_AND_ASSIGN(FlowHandler);
186 }; 186 };
187 187
188 #endif // CHROME_BROWSER_VIEWS_SYNC_SYNC_SETUP_FLOW_H_ 188 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_
189 #endif // CHROME_PERSONALIZATION 189 #endif // CHROME_PERSONALIZATION
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698