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_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "chrome/browser/extensions/api/storage/settings_namespace.h" |
| 16 #include "chrome/browser/extensions/api/storage/settings_storage_factory.h" |
15 #include "chrome/browser/extensions/event_router.h" | 17 #include "chrome/browser/extensions/event_router.h" |
16 #include "chrome/browser/extensions/extension_service.h" | 18 #include "chrome/browser/extensions/extension_service.h" |
17 #include "chrome/browser/extensions/settings/settings_namespace.h" | |
18 #include "chrome/browser/extensions/settings/settings_storage_factory.h" | |
19 #include "chrome/browser/extensions/test_extension_service.h" | 19 #include "chrome/browser/extensions/test_extension_service.h" |
20 #include "chrome/browser/extensions/test_extension_system.h" | 20 #include "chrome/browser/extensions/test_extension_system.h" |
21 #include "chrome/common/extensions/extension.h" | 21 #include "chrome/common/extensions/extension.h" |
22 #include "chrome/test/base/testing_profile.h" | 22 #include "chrome/test/base/testing_profile.h" |
23 | 23 |
24 class ValueStore; | 24 class ValueStore; |
25 | 25 |
26 namespace extensions { | 26 namespace extensions { |
27 | 27 |
28 class SettingsFrontend; | 28 class SettingsFrontend; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // SettingsStorageFactory is refcounted. | 107 // SettingsStorageFactory is refcounted. |
108 virtual ~ScopedSettingsStorageFactory(); | 108 virtual ~ScopedSettingsStorageFactory(); |
109 | 109 |
110 scoped_refptr<SettingsStorageFactory> delegate_; | 110 scoped_refptr<SettingsStorageFactory> delegate_; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace settings_test_util | 113 } // namespace settings_test_util |
114 | 114 |
115 } // namespace extensions | 115 } // namespace extensions |
116 | 116 |
117 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_TEST_UTIL_H_ | 117 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_SETTINGS_TEST_UTIL_H_ |
OLD | NEW |