| 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 EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ |
| 6 #define EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ | 6 #define EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "extensions/browser/api/storage/settings_namespace.h" | 14 #include "extensions/browser/api/storage/settings_namespace.h" |
| 14 #include "extensions/browser/api/storage/settings_observer.h" | 15 #include "extensions/browser/api/storage/settings_observer.h" |
| 15 #include "extensions/browser/api/storage/settings_storage_factory.h" | 16 #include "extensions/browser/api/storage/settings_storage_factory.h" |
| 16 #include "extensions/browser/api/storage/value_store_cache.h" | 17 #include "extensions/browser/api/storage/value_store_cache.h" |
| 17 #include "extensions/browser/browser_context_keyed_api_factory.h" | 18 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 18 | 19 |
| 19 namespace content { | 20 namespace content { |
| 20 class BrowserContext; | 21 class BrowserContext; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Maps a known namespace to its corresponding ValueStoreCache. The caches | 91 // Maps a known namespace to its corresponding ValueStoreCache. The caches |
| 91 // are owned by this object. | 92 // are owned by this object. |
| 92 CacheMap caches_; | 93 CacheMap caches_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(StorageFrontend); | 95 DISALLOW_COPY_AND_ASSIGN(StorageFrontend); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace extensions | 98 } // namespace extensions |
| 98 | 99 |
| 99 #endif // EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ | 100 #endif // EXTENSIONS_BROWSER_API_STORAGE_STORAGE_FRONTEND_H_ |
| OLD | NEW |