| OLD | NEW |
| 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 "components/sync_driver/ui_data_type_controller.h" | 8 #include "components/sync_driver/ui_data_type_controller.h" |
| 9 | 9 |
| 10 class Profile; | 10 class Profile; |
| 11 | 11 |
| 12 namespace browser_sync { | 12 namespace browser_sync { |
| 13 | 13 |
| 14 class ThemeDataTypeController : public sync_driver::UIDataTypeController { | 14 class ThemeDataTypeController : public sync_driver::UIDataTypeController { |
| 15 public: | 15 public: |
| 16 ThemeDataTypeController( | 16 ThemeDataTypeController( |
| 17 sync_driver::SyncApiComponentFactory* sync_factory, | 17 sync_driver::SyncApiComponentFactory* sync_factory, |
| 18 Profile* profile); | 18 Profile* profile); |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 virtual ~ThemeDataTypeController(); | 21 virtual ~ThemeDataTypeController(); |
| 22 | 22 |
| 23 // UIDataTypeController implementations. | 23 // UIDataTypeController implementations. |
| 24 virtual bool StartModels() OVERRIDE; | 24 virtual bool StartModels() override; |
| 25 | 25 |
| 26 Profile* const profile_; | 26 Profile* const profile_; |
| 27 DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController); | 27 DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace browser_sync | 30 } // namespace browser_sync |
| 31 | 31 |
| 32 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_ | 32 #endif // CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_ |
| OLD | NEW |