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

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

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 (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_THEME_DATA_TYPE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/sync/driver/ui_data_type_controller.h" 9 #include "components/sync/driver/ui_data_type_controller.h"
10 10
11 class Profile; 11 class Profile;
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 class ThemeDataTypeController : public syncer::UIDataTypeController { 15 class ThemeDataTypeController : public sync_driver::UIDataTypeController {
16 public: 16 public:
17 // |dump_stack| is called when an unrecoverable error occurs. 17 // |dump_stack| is called when an unrecoverable error occurs.
18 ThemeDataTypeController(const base::Closure& dump_stack, 18 ThemeDataTypeController(const base::Closure& dump_stack,
19 syncer::SyncClient* sync_client, 19 sync_driver::SyncClient* sync_client,
20 Profile* profile); 20 Profile* profile);
21 ~ThemeDataTypeController() override; 21 ~ThemeDataTypeController() override;
22 22
23 private: 23 private:
24 // UIDataTypeController implementations. 24 // UIDataTypeController implementations.
25 bool StartModels() override; 25 bool StartModels() override;
26 26
27 Profile* const profile_; 27 Profile* const profile_;
28 DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController); 28 DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController);
29 }; 29 };
30 30
31 } // namespace browser_sync 31 } // namespace browser_sync
32 32
33 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_ 33 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698