OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ |
6 #define COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "base/time/time.h" | 12 #include "base/time/time.h" |
11 #include "components/sync/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
12 | 14 |
13 namespace syncer { | 15 namespace syncer { |
14 | 16 |
15 class SyncPrefs; | 17 class SyncPrefs; |
16 | 18 |
17 // This class is used by ProfileSyncService to manage all logic and state | 19 // This class is used by ProfileSyncService to manage all logic and state |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 105 |
104 // Used to compute preferred_types from SyncPrefs as-needed. | 106 // Used to compute preferred_types from SyncPrefs as-needed. |
105 ModelTypeSet registered_types_; | 107 ModelTypeSet registered_types_; |
106 | 108 |
107 base::WeakPtrFactory<StartupController> weak_factory_; | 109 base::WeakPtrFactory<StartupController> weak_factory_; |
108 }; | 110 }; |
109 | 111 |
110 } // namespace syncer | 112 } // namespace syncer |
111 | 113 |
112 #endif // COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ | 114 #endif // COMPONENTS_SYNC_DRIVER_STARTUP_CONTROLLER_H_ |
OLD | NEW |