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

Side by Side Diff: chrome/browser/sync/glue/extension_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_DATA_TYPE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_EXTENSION_DATA_TYPE_CONTROLLER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_DATA_TYPE_CONTROLLER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_EXTENSION_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/generic_change_processor.h" 11 #include "components/sync_driver/generic_change_processor.h"
12 #include "components/sync_driver/ui_data_type_controller.h" 12 #include "components/sync_driver/ui_data_type_controller.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 17
18 // TODO(zea): Rename this and ExtensionSettingsDTC to ExtensionOrApp*, since 18 // TODO(zea): Rename this and ExtensionSettingsDTC to ExtensionOrApp*, since
19 // both actually handle the APP datatypes as well. 19 // both actually handle the APP datatypes as well.
20 class ExtensionDataTypeController : public UIDataTypeController { 20 class ExtensionDataTypeController : public sync_driver::UIDataTypeController {
21 public: 21 public:
22 ExtensionDataTypeController( 22 ExtensionDataTypeController(
23 syncer::ModelType type, // Either EXTENSIONS or APPS. 23 syncer::ModelType type, // Either EXTENSIONS or APPS.
24 SyncApiComponentFactory* sync_factory, 24 sync_driver::SyncApiComponentFactory* sync_factory,
25 Profile* profile, 25 Profile* profile,
26 const DisableTypeCallback& disable_callback); 26 const DisableTypeCallback& disable_callback);
27 27
28 private: 28 private:
29 virtual ~ExtensionDataTypeController(); 29 virtual ~ExtensionDataTypeController();
30 30
31 // DataTypeController implementations. 31 // DataTypeController implementations.
32 virtual bool StartModels() OVERRIDE; 32 virtual bool StartModels() OVERRIDE;
33 33
34 Profile* const profile_; 34 Profile* const profile_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(ExtensionDataTypeController); 36 DISALLOW_COPY_AND_ASSIGN(ExtensionDataTypeController);
37 }; 37 };
38 38
39 } // namespace browser_sync 39 } // namespace browser_sync
40 40
41 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_DATA_TYPE_CONTROLLER_H_ 41 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_DATA_TYPE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698