OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_service_test_base.h" | 5 #include "chrome/browser/extensions/extension_service_test_base.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
12 #include "chrome/browser/extensions/component_loader.h" | 12 #include "chrome/browser/extensions/component_loader.h" |
13 #include "chrome/browser/extensions/extension_error_reporter.h" | 13 #include "chrome/browser/extensions/extension_error_reporter.h" |
14 #include "chrome/browser/extensions/extension_garbage_collector_factory.h" | 14 #include "chrome/browser/extensions/extension_garbage_collector_factory.h" |
15 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
16 #include "chrome/browser/extensions/test_extension_system.h" | 16 #include "chrome/browser/extensions/test_extension_system.h" |
17 #include "chrome/browser/extensions/updater/extension_updater.h" | 17 #include "chrome/browser/extensions/updater/extension_updater.h" |
18 #include "chrome/browser/prefs/browser_prefs.h" | 18 #include "chrome/browser/prefs/browser_prefs.h" |
19 #include "chrome/browser/prefs/pref_service_mock_factory.h" | |
20 #include "chrome/browser/prefs/pref_service_syncable.h" | |
21 #include "chrome/common/chrome_constants.h" | 19 #include "chrome/common/chrome_constants.h" |
22 #include "chrome/common/chrome_paths.h" | 20 #include "chrome/common/chrome_paths.h" |
23 #include "chrome/test/base/testing_browser_process.h" | 21 #include "chrome/test/base/testing_browser_process.h" |
24 #include "chrome/test/base/testing_profile.h" | 22 #include "chrome/test/base/testing_profile.h" |
25 #include "components/pref_registry/pref_registry_syncable.h" | 23 #include "components/pref_registry/pref_registry_syncable.h" |
| 24 #include "components/syncable_prefs/pref_service_mock_factory.h" |
| 25 #include "components/syncable_prefs/pref_service_syncable.h" |
26 #include "content/public/browser/browser_context.h" | 26 #include "content/public/browser/browser_context.h" |
27 #include "extensions/browser/extension_prefs.h" | 27 #include "extensions/browser/extension_prefs.h" |
28 #include "extensions/browser/extension_registry.h" | 28 #include "extensions/browser/extension_registry.h" |
29 | 29 |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
31 #include "chrome/browser/chromeos/extensions/install_limiter.h" | 31 #include "chrome/browser/chromeos/extensions/install_limiter.h" |
32 #endif | 32 #endif |
33 | 33 |
34 namespace extensions { | 34 namespace extensions { |
35 | 35 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // interfere with the tests. Those tests that need an external provider | 231 // interfere with the tests. Those tests that need an external provider |
232 // will register one specifically. | 232 // will register one specifically. |
233 service_->ClearProvidersForTesting(); | 233 service_->ClearProvidersForTesting(); |
234 | 234 |
235 #if defined(OS_CHROMEOS) | 235 #if defined(OS_CHROMEOS) |
236 InstallLimiter::Get(profile_.get())->DisableForTest(); | 236 InstallLimiter::Get(profile_.get())->DisableForTest(); |
237 #endif | 237 #endif |
238 } | 238 } |
239 | 239 |
240 } // namespace extensions | 240 } // namespace extensions |
OLD | NEW |