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_NON_UI_DATA_TYPE_CONTROLLER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_H_ |
6 #define COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
14 #include "components/sync_driver/directory_data_type_controller.h" | 13 #include "components/sync_driver/directory_data_type_controller.h" |
15 #include "components/sync_driver/shared_change_processor.h" | 14 #include "components/sync_driver/shared_change_processor.h" |
16 | 15 |
17 namespace syncer { | 16 namespace syncer { |
18 class SyncableService; | 17 class SyncableService; |
19 struct UserShare; | 18 struct UserShare; |
20 } | 19 } |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // Lifetime: it gets set in StartAssociationWithSharedChangeProcessor(...) | 159 // Lifetime: it gets set in StartAssociationWithSharedChangeProcessor(...) |
161 // and released in StopLocalService(). | 160 // and released in StopLocalService(). |
162 base::WeakPtr<syncer::SyncableService> local_service_; | 161 base::WeakPtr<syncer::SyncableService> local_service_; |
163 | 162 |
164 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_; | 163 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_; |
165 }; | 164 }; |
166 | 165 |
167 } // namespace sync_driver | 166 } // namespace sync_driver |
168 | 167 |
169 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_H_ | 168 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_H_ |
OLD | NEW |