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

Side by Side Diff: components/sync/driver/data_type_manager_impl.h

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 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_DATA_TYPE_MANAGER_IMPL_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__ 6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
7 7
8 #include "components/sync/driver/data_type_manager.h" 8 #include "components/sync/driver/data_type_manager.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 13 matching lines...) Expand all
24 24
25 class DataTypeController; 25 class DataTypeController;
26 class DataTypeDebugInfoListener; 26 class DataTypeDebugInfoListener;
27 class DataTypeEncryptionHandler; 27 class DataTypeEncryptionHandler;
28 class DataTypeManagerObserver; 28 class DataTypeManagerObserver;
29 class SyncClient; 29 class SyncClient;
30 struct DataTypeConfigurationStats; 30 struct DataTypeConfigurationStats;
31 31
32 // List of data types grouped by priority and ordered from high priority to 32 // List of data types grouped by priority and ordered from high priority to
33 // low priority. 33 // low priority.
34 typedef std::queue<ModelTypeSet> TypeSetPriorityList; 34 using TypeSetPriorityList = std::queue<ModelTypeSet>;
35 35
36 class DataTypeManagerImpl : public DataTypeManager, 36 class DataTypeManagerImpl : public DataTypeManager,
37 public ModelAssociationManagerDelegate { 37 public ModelAssociationManagerDelegate {
38 public: 38 public:
39 DataTypeManagerImpl( 39 DataTypeManagerImpl(
40 SyncClient* sync_client, 40 SyncClient* sync_client,
41 ModelTypeSet initial_types, 41 ModelTypeSet initial_types,
42 const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener, 42 const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener,
43 const DataTypeController::TypeMap* controllers, 43 const DataTypeController::TypeMap* controllers,
44 const DataTypeEncryptionHandler* encryption_handler, 44 const DataTypeEncryptionHandler* encryption_handler,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 bool download_started_; 272 bool download_started_;
273 273
274 base::WeakPtrFactory<DataTypeManagerImpl> weak_ptr_factory_; 274 base::WeakPtrFactory<DataTypeManagerImpl> weak_ptr_factory_;
275 275
276 DISALLOW_COPY_AND_ASSIGN(DataTypeManagerImpl); 276 DISALLOW_COPY_AND_ASSIGN(DataTypeManagerImpl);
277 }; 277 };
278 278
279 } // namespace syncer 279 } // namespace syncer
280 280
281 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__ 281 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_MANAGER_IMPL_H__
OLDNEW
« no previous file with comments | « components/sync/driver/data_type_controller.h ('k') | components/sync/driver/data_type_status_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698