| OLD | NEW |
| 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 #if defined(BROWSER_SYNC) | |
| 6 | |
| 7 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ |
| 8 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ | 6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ |
| 9 | 7 |
| 10 #include <string> | 8 #include <string> |
| 11 #include <vector> | 9 #include <vector> |
| 12 | 10 |
| 13 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
| 14 #include "base/time.h" | 12 #include "base/time.h" |
| 15 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 13 #include "chrome/browser/dom_ui/html_dialog_ui.h" |
| 16 #include "chrome/browser/sync/profile_sync_service.h" | 14 #include "chrome/browser/sync/profile_sync_service.h" |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 177 } |
| 180 | 178 |
| 181 private: | 179 private: |
| 182 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, | 180 void ExecuteJavascriptInIFrame(const std::wstring& iframe_xpath, |
| 183 const std::wstring& js); | 181 const std::wstring& js); |
| 184 SyncSetupFlow* flow_; | 182 SyncSetupFlow* flow_; |
| 185 DISALLOW_COPY_AND_ASSIGN(FlowHandler); | 183 DISALLOW_COPY_AND_ASSIGN(FlowHandler); |
| 186 }; | 184 }; |
| 187 | 185 |
| 188 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ | 186 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ |
| 189 #endif // defined(BROWSER_SYNC) | |
| OLD | NEW |