| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 
| 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 
| 7 | 7 | 
| 8 #include <map> | 8 #include <map> | 
| 9 #include <memory> | 9 #include <memory> | 
| 10 #include <set> | 10 #include <set> | 
| 11 #include <string> | 11 #include <string> | 
| 12 | 12 | 
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" | 
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" | 
| 15 #include "base/macros.h" | 15 #include "base/macros.h" | 
| 16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" | 
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" | 
|  | 18 #include "components/sync/api/syncable_service.h" | 
| 18 #include "extensions/browser/api/storage/settings_observer.h" | 19 #include "extensions/browser/api/storage/settings_observer.h" | 
| 19 #include "extensions/browser/api/storage/settings_storage_quota_enforcer.h" | 20 #include "extensions/browser/api/storage/settings_storage_quota_enforcer.h" | 
| 20 #include "extensions/browser/value_store/value_store_factory.h" | 21 #include "extensions/browser/value_store/value_store_factory.h" | 
| 21 #include "sync/api/syncable_service.h" |  | 
| 22 | 22 | 
| 23 namespace syncer { | 23 namespace syncer { | 
| 24 class SyncErrorFactory; | 24 class SyncErrorFactory; | 
| 25 } | 25 } | 
| 26 | 26 | 
| 27 namespace extensions { | 27 namespace extensions { | 
| 28 | 28 | 
| 29 class SettingsSyncProcessor; | 29 class SettingsSyncProcessor; | 
| 30 class SyncableSettingsStorage; | 30 class SyncableSettingsStorage; | 
| 31 class ValueStoreFactory; | 31 class ValueStoreFactory; | 
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 101   std::unique_ptr<syncer::SyncErrorFactory> sync_error_factory_; | 101   std::unique_ptr<syncer::SyncErrorFactory> sync_error_factory_; | 
| 102 | 102 | 
| 103   syncer::SyncableService::StartSyncFlare flare_; | 103   syncer::SyncableService::StartSyncFlare flare_; | 
| 104 | 104 | 
| 105   DISALLOW_COPY_AND_ASSIGN(SyncStorageBackend); | 105   DISALLOW_COPY_AND_ASSIGN(SyncStorageBackend); | 
| 106 }; | 106 }; | 
| 107 | 107 | 
| 108 }  // namespace extensions | 108 }  // namespace extensions | 
| 109 | 109 | 
| 110 #endif  // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 110 #endif  // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_STORAGE_BACKEND_H_ | 
| OLD | NEW | 
|---|