OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ | 5 #ifndef IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ |
6 #define IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ | 6 #define IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
13 #include "sync/internal_api/public/base/model_type.h" | 13 #include "sync/internal_api/public/base/model_type.h" |
14 #include "sync/internal_api/public/util/syncer_error.h" | 14 #include "sync/internal_api/public/util/syncer_error.h" |
15 | 15 |
16 namespace sync_driver { | 16 namespace sync_driver { |
17 class SyncService; | 17 class SyncService; |
18 } | 18 } |
19 | 19 |
20 class PrefService; | 20 class PrefService; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 void SetSyncEnabledWithoutChangingDatatypes(bool sync_enabled); | 102 void SetSyncEnabledWithoutChangingDatatypes(bool sync_enabled); |
103 | 103 |
104 sync_driver::SyncService* const sync_service_; | 104 sync_driver::SyncService* const sync_service_; |
105 PrefService* const prefs_; | 105 PrefService* const prefs_; |
106 syncer::ModelTypeSet user_selectable_types_; | 106 syncer::ModelTypeSet user_selectable_types_; |
107 | 107 |
108 DISALLOW_COPY_AND_ASSIGN(SyncSetupService); | 108 DISALLOW_COPY_AND_ASSIGN(SyncSetupService); |
109 }; | 109 }; |
110 | 110 |
111 #endif // IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ | 111 #endif // IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_ |
OLD | NEW |