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

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

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. Created 4 years, 2 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_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
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_
OLDNEW
« no previous file with comments | « components/sync/driver/non_blocking_data_type_controller.cc ('k') | components/sync/driver/startup_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698