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

Side by Side Diff: chrome/browser/sync/glue/extension_setting_data_type_controller.h

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "components/sync_driver/non_ui_data_type_controller.h" 11 #include "components/sync_driver/non_ui_data_type_controller.h"
12 12
13 class Profile; 13 class Profile;
14 class ProfileSyncComponentsFactory; 14 class ProfileSyncComponentsFactory;
15 15
16 namespace syncer { 16 namespace syncer {
17 class SyncableService; 17 class SyncableService;
18 } 18 }
19 19
20 namespace extensions { 20 namespace extensions {
21 class StorageFrontend; 21 class StorageFrontend;
22 } 22 }
23 23
24 namespace browser_sync { 24 namespace browser_sync {
25 25
26 class ExtensionSettingDataTypeController 26 class ExtensionSettingDataTypeController
27 : public NonUIDataTypeController { 27 : public sync_driver::NonUIDataTypeController {
28 public: 28 public:
29 ExtensionSettingDataTypeController( 29 ExtensionSettingDataTypeController(
30 // Either EXTENSION_SETTINGS or APP_SETTINGS. 30 // Either EXTENSION_SETTINGS or APP_SETTINGS.
31 syncer::ModelType type, 31 syncer::ModelType type,
32 ProfileSyncComponentsFactory* profile_sync_factory, 32 ProfileSyncComponentsFactory* profile_sync_factory,
33 Profile* profile, 33 Profile* profile,
34 const DisableTypeCallback& disable_callback); 34 const DisableTypeCallback& disable_callback);
35 35
36 // NonFrontendDataTypeController implementation 36 // NonFrontendDataTypeController implementation
37 virtual syncer::ModelType type() const OVERRIDE; 37 virtual syncer::ModelType type() const OVERRIDE;
(...skipping 13 matching lines...) Expand all
51 51
52 // Only used on the UI thread. 52 // Only used on the UI thread.
53 Profile* profile_; 53 Profile* profile_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingDataTypeController); 55 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingDataTypeController);
56 }; 56 };
57 57
58 } // namespace browser_sync 58 } // namespace browser_sync
59 59
60 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ 60 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/extension_data_type_controller.cc ('k') | chrome/browser/sync/glue/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698