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_EXTENSION_PREFS_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "chrome/browser/extensions/test_extension_prefs.h" | 12 #include "chrome/browser/extensions/test_extension_prefs.h" |
13 #include "content/public/test/test_browser_thread.h" | 13 #include "content/public/test/test_browser_thread.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace base { | |
17 class Value; | |
18 } | |
19 | |
20 namespace user_prefs { | 16 namespace user_prefs { |
21 class PrefRegistrySyncable; | 17 class PrefRegistrySyncable; |
22 } | 18 } |
23 | 19 |
24 namespace extensions { | 20 namespace extensions { |
25 class ChromeAppSorting; | 21 class ChromeAppSorting; |
26 class Extension; | 22 class Extension; |
27 | 23 |
28 // Base class for extension preference-related unit tests. | 24 // Base class for extension preference-related unit tests. |
29 class ExtensionPrefsTest : public testing::Test { | 25 class ExtensionPrefsTest : public testing::Test { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 scoped_refptr<Extension> extension3_; | 77 scoped_refptr<Extension> extension3_; |
82 scoped_refptr<Extension> extension4_; | 78 scoped_refptr<Extension> extension4_; |
83 | 79 |
84 private: | 80 private: |
85 DISALLOW_COPY_AND_ASSIGN(PrefsPrepopulatedTestBase); | 81 DISALLOW_COPY_AND_ASSIGN(PrefsPrepopulatedTestBase); |
86 }; | 82 }; |
87 | 83 |
88 } // namespace extensions | 84 } // namespace extensions |
89 | 85 |
90 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ | 86 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ |
OLD | NEW |