Home | History | Annotate | Download | only in glue
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
      6 #define CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
      7 
      8 #include "components/sync_driver/ui_data_type_controller.h"
      9 
     10 class Profile;
     11 
     12 namespace browser_sync {
     13 
     14 class ThemeDataTypeController : public UIDataTypeController {
     15  public:
     16   ThemeDataTypeController(
     17       SyncApiComponentFactory* sync_factory,
     18       Profile* profile,
     19       const DisableTypeCallback& disable_callback);
     20 
     21  private:
     22   virtual ~ThemeDataTypeController();
     23 
     24   // UIDataTypeController implementations.
     25   virtual bool StartModels() OVERRIDE;
     26 
     27   Profile* const profile_;
     28   DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController);
     29 };
     30 
     31 }  // namespace browser_sync
     32 
     33 #endif  // CHROME_BROWSER_SYNC_GLUE_THEME_DATA_TYPE_CONTROLLER_H_
     34