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_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 "base/macros.h" | 11 #include "base/macros.h" |
12 #include "components/sync/driver/non_ui_data_type_controller.h" | 12 #include "components/sync/driver/non_ui_data_type_controller.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace extensions { | |
17 class StorageFrontend; | |
18 } | |
19 | |
20 namespace syncer { | 16 namespace syncer { |
21 class SyncClient; | 17 class SyncClient; |
22 } | 18 } |
23 | 19 |
24 namespace browser_sync { | 20 namespace browser_sync { |
25 | 21 |
26 class ExtensionSettingDataTypeController | 22 class ExtensionSettingDataTypeController |
27 : public syncer::NonUIDataTypeController { | 23 : public syncer::NonUIDataTypeController { |
28 public: | 24 public: |
29 // |type| is either EXTENSION_SETTINGS or APP_SETTINGS. | 25 // |type| is either EXTENSION_SETTINGS or APP_SETTINGS. |
(...skipping 15 matching lines...) Expand all Loading... |
45 | 41 |
46 // Only used on the UI thread. | 42 // Only used on the UI thread. |
47 Profile* profile_; | 43 Profile* profile_; |
48 | 44 |
49 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingDataTypeController); | 45 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingDataTypeController); |
50 }; | 46 }; |
51 | 47 |
52 } // namespace browser_sync | 48 } // namespace browser_sync |
53 | 49 |
54 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ | 50 #endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_SETTING_DATA_TYPE_CONTROLLER_H__ |
OLD | NEW |