Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: components/sync_driver/model_association_manager.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_MODEL_ASSOCIATION_MANAGER_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__
6 #define COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ 6 #define COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 13
14 #include "components/sync/base/weak_handle.h"
15 #include "components/sync/core/data_type_association_stats.h"
14 #include "components/sync_driver/data_type_manager.h" 16 #include "components/sync_driver/data_type_manager.h"
15 #include "sync/internal_api/public/data_type_association_stats.h"
16 #include "sync/internal_api/public/util/weak_handle.h"
17 17
18 namespace sync_driver { 18 namespace sync_driver {
19 19
20 class DataTypeController; 20 class DataTypeController;
21 21
22 // |ModelAssociationManager| does the heavy lifting for doing the actual model 22 // |ModelAssociationManager| does the heavy lifting for doing the actual model
23 // association. It instructs DataTypeControllers to load models, start 23 // association. It instructs DataTypeControllers to load models, start
24 // associating and stopping. Since the operations are async it uses an 24 // associating and stopping. Since the operations are async it uses an
25 // interface to inform DataTypeManager the results of the operations. 25 // interface to inform DataTypeManager the results of the operations.
26 // This class is owned by DataTypeManager. 26 // This class is owned by DataTypeManager.
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 bool notified_about_ready_for_configure_; 173 bool notified_about_ready_for_configure_;
174 174
175 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_; 175 base::WeakPtrFactory<ModelAssociationManager> weak_ptr_factory_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager); 177 DISALLOW_COPY_AND_ASSIGN(ModelAssociationManager);
178 }; 178 };
179 179
180 } // namespace sync_driver 180 } // namespace sync_driver
181 181
182 #endif // COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__ 182 #endif // COMPONENTS_SYNC_DRIVER_MODEL_ASSOCIATION_MANAGER_H__
OLDNEW
« no previous file with comments | « components/sync_driver/local_device_info_provider_unittest.cc ('k') | components/sync_driver/model_association_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698