| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/time.h" | 13 #include "base/time.h" |
| 14 #include "chrome/browser/sync/profile_sync_service.h" | 14 #include "chrome/browser/sync/profile_sync_service.h" |
| 15 #include "chrome/browser/sync/sync_setup_wizard.h" | 15 #include "chrome/browser/sync/sync_setup_wizard.h" |
| 16 #include "chrome/browser/sync/syncable/model_type.h" | |
| 17 #include "chrome/browser/ui/webui/html_dialog_ui.h" | 16 #include "chrome/browser/ui/webui/html_dialog_ui.h" |
| 17 #include "sync/syncable/model_type.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
| 20 | 20 |
| 21 class SyncSetupFlowHandler; | 21 class SyncSetupFlowHandler; |
| 22 class SyncSetupFlowContainer; | 22 class SyncSetupFlowContainer; |
| 23 | 23 |
| 24 // A structure which contains all the configuration information for sync. | 24 // A structure which contains all the configuration information for sync. |
| 25 // This can be stored or passed around when the configuration is managed | 25 // This can be stored or passed around when the configuration is managed |
| 26 // by multiple stages of the wizard. | 26 // by multiple stages of the wizard. |
| 27 struct SyncConfiguration { | 27 struct SyncConfiguration { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 } | 157 } |
| 158 | 158 |
| 159 SyncSetupFlow* get_flow() { return flow_; } | 159 SyncSetupFlow* get_flow() { return flow_; } |
| 160 private: | 160 private: |
| 161 SyncSetupFlow* flow_; | 161 SyncSetupFlow* flow_; |
| 162 | 162 |
| 163 DISALLOW_COPY_AND_ASSIGN(SyncSetupFlowContainer); | 163 DISALLOW_COPY_AND_ASSIGN(SyncSetupFlowContainer); |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ | 166 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_H_ |
| OLD | NEW |