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

Side by Side Diff: components/sync/driver/directory_data_type_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_DIRECTORY_DATA_TYPE_CONTROLLER_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__
6 #define COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ 6 #define COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__
7 7
8 #include <memory>
9
8 #include "components/sync/driver/data_type_controller.h" 10 #include "components/sync/driver/data_type_controller.h"
9
10 #include "components/sync/driver/sync_client.h" 11 #include "components/sync/driver/sync_client.h"
11 #include "components/sync/engine/model_safe_worker.h" 12 #include "components/sync/engine/model_safe_worker.h"
12 #include "components/sync/syncable/directory.h" 13 #include "components/sync/syncable/directory.h"
13 14
14 namespace syncer { 15 namespace syncer {
15 16
16 class ChangeProcessor; 17 class ChangeProcessor;
17 18
18 // Base class for Directory based Data type controllers. 19 // Base class for Directory based Data type controllers.
19 class DirectoryDataTypeController : public DataTypeController { 20 class DirectoryDataTypeController : public DataTypeController {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Access to the ChangeProcessor for the type being controlled by |this|. 64 // Access to the ChangeProcessor for the type being controlled by |this|.
64 // Returns NULL if the ChangeProcessor isn't created or connected. 65 // Returns NULL if the ChangeProcessor isn't created or connected.
65 virtual ChangeProcessor* GetChangeProcessor() const = 0; 66 virtual ChangeProcessor* GetChangeProcessor() const = 0;
66 67
67 SyncClient* const sync_client_; 68 SyncClient* const sync_client_;
68 }; 69 };
69 70
70 } // namespace syncer 71 } // namespace syncer
71 72
72 #endif // COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__ 73 #endif // COMPONENTS_SYNC_DRIVER_DIRECTORY_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « components/sync/driver/backend_migrator_unittest.cc ('k') | components/sync/driver/directory_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698