OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TEST_EXTENSION_PREFS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_PREFS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_PREFS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_PREFS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_temp_dir.h" | 12 #include "base/scoped_temp_dir.h" |
13 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
14 | 14 |
15 class DictionaryValue; | 15 class DictionaryValue; |
16 class ExtensionPrefs; | 16 class ExtensionPrefs; |
17 class ExtensionPrefValueMap; | 17 class ExtensionPrefValueMap; |
18 class PrefService; | 18 class PrefService; |
19 | 19 |
20 // This is a test class intended to make it easier to work with ExtensionPrefs | 20 // This is a test class intended to make it easier to work with ExtensionPrefs |
21 // in tests. | 21 // in tests. |
22 class TestExtensionPrefs { | 22 class TestExtensionPrefs { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 FilePath extensions_dir_; | 54 FilePath extensions_dir_; |
55 scoped_ptr<PrefService> pref_service_; | 55 scoped_ptr<PrefService> pref_service_; |
56 scoped_ptr<ExtensionPrefs> prefs_; | 56 scoped_ptr<ExtensionPrefs> prefs_; |
57 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 57 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
58 | 58 |
59 private: | 59 private: |
60 DISALLOW_COPY_AND_ASSIGN(TestExtensionPrefs); | 60 DISALLOW_COPY_AND_ASSIGN(TestExtensionPrefs); |
61 }; | 61 }; |
62 | 62 |
63 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_PREFS_H_ | 63 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_PREFS_H_ |
OLD | NEW |