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_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_BACKEND_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_BACKEND_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "chrome/browser/extensions/settings/settings_observer.h" | 17 #include "chrome/browser/extensions/api/storage/settings_observer.h" |
18 #include "chrome/browser/extensions/settings/settings_storage_factory.h" | 18 #include "chrome/browser/extensions/api/storage/settings_storage_factory.h" |
19 #include "chrome/browser/extensions/settings/settings_storage_quota_enforcer.h" | 19 #include "chrome/browser/extensions/api/storage/settings_storage_quota_enforcer.
h" |
20 #include "sync/api/syncable_service.h" | 20 #include "sync/api/syncable_service.h" |
21 | 21 |
22 namespace syncer { | 22 namespace syncer { |
23 class SyncErrorFactory; | 23 class SyncErrorFactory; |
24 } | 24 } |
25 | 25 |
26 namespace extensions { | 26 namespace extensions { |
27 | 27 |
28 class SettingsSyncProcessor; | 28 class SettingsSyncProcessor; |
29 class SyncableSettingsStorage; | 29 class SyncableSettingsStorage; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; | 106 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; |
107 | 107 |
108 // Current sync error handler if any. | 108 // Current sync error handler if any. |
109 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; | 109 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory_; |
110 | 110 |
111 DISALLOW_COPY_AND_ASSIGN(SettingsBackend); | 111 DISALLOW_COPY_AND_ASSIGN(SettingsBackend); |
112 }; | 112 }; |
113 | 113 |
114 } // namespace extensions | 114 } // namespace extensions |
115 | 115 |
116 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_BACKEND_H_ | 116 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_BACKEND_H_ |
OLD | NEW |