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 #include "chrome/browser/extensions/extension_prefs_unittest.h" | 5 #include "chrome/browser/extensions/./extension_prefs_unittest.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/prefs/mock_pref_change_callback.h" | 10 #include "base/prefs/mock_pref_change_callback.h" |
11 #include "base/prefs/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
12 #include "base/prefs/scoped_user_pref_update.h" | 12 #include "base/prefs/scoped_user_pref_update.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "base/values.h" | 16 #include "base/values.h" |
17 #include "chrome/browser/extensions/extension_pref_value_map.h" | |
18 #include "chrome/browser/extensions/extension_prefs.h" | |
19 #include "chrome/browser/prefs/pref_service_syncable.h" | 17 #include "chrome/browser/prefs/pref_service_syncable.h" |
20 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
21 #include "components/user_prefs/pref_registry_syncable.h" | 19 #include "components/user_prefs/pref_registry_syncable.h" |
22 #include "content/public/browser/notification_details.h" | 20 #include "content/public/browser/notification_details.h" |
23 #include "content/public/browser/notification_source.h" | 21 #include "content/public/browser/notification_source.h" |
24 #include "content/public/test/mock_notification_observer.h" | 22 #include "content/public/test/mock_notification_observer.h" |
| 23 #include "extensions/browser/extension_pref_value_map.h" |
| 24 #include "extensions/browser/extension_prefs.h" |
25 #include "extensions/common/extension.h" | 25 #include "extensions/common/extension.h" |
26 #include "extensions/common/manifest_constants.h" | 26 #include "extensions/common/manifest_constants.h" |
27 #include "extensions/common/permissions/permission_set.h" | 27 #include "extensions/common/permissions/permission_set.h" |
28 #include "extensions/common/permissions/permissions_info.h" | 28 #include "extensions/common/permissions/permissions_info.h" |
29 #include "sync/api/string_ordinal.h" | 29 #include "sync/api/string_ordinal.h" |
30 | 30 |
31 using base::Time; | 31 using base::Time; |
32 using base::TimeDelta; | 32 using base::TimeDelta; |
33 using content::BrowserThread; | 33 using content::BrowserThread; |
34 | 34 |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 | 846 |
847 private: | 847 private: |
848 scoped_refptr<const Extension> extension_a_; | 848 scoped_refptr<const Extension> extension_a_; |
849 scoped_refptr<const Extension> extension_b_; | 849 scoped_refptr<const Extension> extension_b_; |
850 scoped_refptr<const Extension> extension_c_; | 850 scoped_refptr<const Extension> extension_c_; |
851 }; | 851 }; |
852 TEST_F(ExtensionPrefsBlacklistedExtensions, | 852 TEST_F(ExtensionPrefsBlacklistedExtensions, |
853 ExtensionPrefsBlacklistedExtensions) {} | 853 ExtensionPrefsBlacklistedExtensions) {} |
854 | 854 |
855 } // namespace extensions | 855 } // namespace extensions |
OLD | NEW |