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/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/prefs/mock_pref_change_callback.h" | |
10 #include "base/prefs/pref_change_registrar.h" | |
11 #include "base/prefs/scoped_user_pref_update.h" | |
12 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
13 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
15 #include "base/time/time.h" | 12 #include "base/time/time.h" |
16 #include "base/values.h" | 13 #include "base/values.h" |
17 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
18 #include "components/pref_registry/pref_registry_syncable.h" | 15 #include "components/pref_registry/pref_registry_syncable.h" |
| 16 #include "components/prefs/mock_pref_change_callback.h" |
| 17 #include "components/prefs/pref_change_registrar.h" |
| 18 #include "components/prefs/scoped_user_pref_update.h" |
19 #include "components/syncable_prefs/pref_service_syncable.h" | 19 #include "components/syncable_prefs/pref_service_syncable.h" |
20 #include "content/public/browser/notification_details.h" | 20 #include "content/public/browser/notification_details.h" |
21 #include "content/public/browser/notification_source.h" | 21 #include "content/public/browser/notification_source.h" |
22 #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" | 23 #include "extensions/browser/extension_pref_value_map.h" |
24 #include "extensions/browser/extension_prefs.h" | 24 #include "extensions/browser/extension_prefs.h" |
25 #include "extensions/browser/install_flag.h" | 25 #include "extensions/browser/install_flag.h" |
26 #include "extensions/common/extension.h" | 26 #include "extensions/common/extension.h" |
27 #include "extensions/common/extension_builder.h" | 27 #include "extensions/common/extension_builder.h" |
28 #include "extensions/common/manifest_constants.h" | 28 #include "extensions/common/manifest_constants.h" |
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 | 987 |
988 private: | 988 private: |
989 scoped_ptr<const PermissionSet> active_perms_; | 989 scoped_ptr<const PermissionSet> active_perms_; |
990 scoped_refptr<Extension> component_extension_; | 990 scoped_refptr<Extension> component_extension_; |
991 scoped_refptr<Extension> no_component_extension_; | 991 scoped_refptr<Extension> no_component_extension_; |
992 }; | 992 }; |
993 TEST_F(ExtensionPrefsComponentExtension, ExtensionPrefsComponentExtension) { | 993 TEST_F(ExtensionPrefsComponentExtension, ExtensionPrefsComponentExtension) { |
994 } | 994 } |
995 | 995 |
996 } // namespace extensions | 996 } // namespace extensions |
OLD | NEW |