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_VALUE_STORE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_VALUE_STORE_CACHE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_VALUE_STORE_CACHE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_VALUE_STORE_CACHE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
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 "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "components/sync/api/syncable_service.h" |
13 #include "extensions/browser/api/storage/settings_observer.h" | 14 #include "extensions/browser/api/storage/settings_observer.h" |
14 #include "extensions/browser/api/storage/value_store_cache.h" | 15 #include "extensions/browser/api/storage/value_store_cache.h" |
15 #include "sync/api/syncable_service.h" | |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class FilePath; | 18 class FilePath; |
19 } | 19 } |
20 | 20 |
21 namespace syncer { | 21 namespace syncer { |
22 class SyncableService; | 22 class SyncableService; |
23 } | 23 } |
24 | 24 |
25 namespace extensions { | 25 namespace extensions { |
(...skipping 26 matching lines...) Expand all Loading... |
52 bool initialized_; | 52 bool initialized_; |
53 std::unique_ptr<SyncStorageBackend> app_backend_; | 53 std::unique_ptr<SyncStorageBackend> app_backend_; |
54 std::unique_ptr<SyncStorageBackend> extension_backend_; | 54 std::unique_ptr<SyncStorageBackend> extension_backend_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(SyncValueStoreCache); | 56 DISALLOW_COPY_AND_ASSIGN(SyncValueStoreCache); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace extensions | 59 } // namespace extensions |
60 | 60 |
61 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_VALUE_STORE_CACHE_H_ | 61 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SYNC_VALUE_STORE_CACHE_H_ |
OLD | NEW |