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/test/base/testing_profile.h" | 5 #include "chrome/test/base/testing_profile.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/prefs/testing_pref_store.h" | 12 #include "base/prefs/testing_pref_store.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 15 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
16 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 16 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
17 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" | 17 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" |
18 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" | 18 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" |
19 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/chrome_notification_types.h" | 20 #include "chrome/browser/chrome_notification_types.h" |
21 #include "chrome/browser/content_settings/host_content_settings_map.h" | 21 #include "chrome/browser/content_settings/host_content_settings_map.h" |
22 #include "chrome/browser/extensions/extension_service.h" | |
23 #include "chrome/browser/favicon/chrome_favicon_client_factory.h" | 22 #include "chrome/browser/favicon/chrome_favicon_client_factory.h" |
24 #include "chrome/browser/favicon/favicon_service.h" | 23 #include "chrome/browser/favicon/favicon_service.h" |
25 #include "chrome/browser/favicon/favicon_service_factory.h" | 24 #include "chrome/browser/favicon/favicon_service_factory.h" |
26 #include "chrome/browser/history/chrome_history_client.h" | 25 #include "chrome/browser/history/chrome_history_client.h" |
27 #include "chrome/browser/history/chrome_history_client_factory.h" | 26 #include "chrome/browser/history/chrome_history_client_factory.h" |
28 #include "chrome/browser/history/history_backend.h" | 27 #include "chrome/browser/history/history_backend.h" |
29 #include "chrome/browser/history/history_db_task.h" | 28 #include "chrome/browser/history/history_db_task.h" |
30 #include "chrome/browser/history/history_service.h" | 29 #include "chrome/browser/history/history_service.h" |
31 #include "chrome/browser/history/history_service_factory.h" | 30 #include "chrome/browser/history/history_service_factory.h" |
32 #include "chrome/browser/history/top_sites.h" | 31 #include "chrome/browser/history/top_sites.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 #include "chrome/browser/policy/schema_registry_service.h" | 75 #include "chrome/browser/policy/schema_registry_service.h" |
77 #include "chrome/browser/policy/schema_registry_service_factory.h" | 76 #include "chrome/browser/policy/schema_registry_service_factory.h" |
78 #include "components/policy/core/common/configuration_policy_provider.h" | 77 #include "components/policy/core/common/configuration_policy_provider.h" |
79 #include "components/policy/core/common/policy_service_impl.h" | 78 #include "components/policy/core/common/policy_service_impl.h" |
80 #include "components/policy/core/common/schema.h" | 79 #include "components/policy/core/common/schema.h" |
81 #else | 80 #else |
82 #include "components/policy/core/common/policy_service_stub.h" | 81 #include "components/policy/core/common/policy_service_stub.h" |
83 #endif // defined(ENABLE_CONFIGURATION_POLICY) | 82 #endif // defined(ENABLE_CONFIGURATION_POLICY) |
84 | 83 |
85 #if defined(ENABLE_EXTENSIONS) | 84 #if defined(ENABLE_EXTENSIONS) |
| 85 #include "chrome/browser/extensions/extension_service.h" |
86 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 86 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
87 #include "chrome/browser/extensions/extension_system_factory.h" | 87 #include "chrome/browser/extensions/extension_system_factory.h" |
88 #include "chrome/browser/extensions/test_extension_system.h" | 88 #include "chrome/browser/extensions/test_extension_system.h" |
89 #include "extensions/browser/extension_system.h" | 89 #include "extensions/browser/extension_system.h" |
90 #include "extensions/browser/guest_view/guest_view_manager.h" | 90 #include "extensions/browser/guest_view/guest_view_manager.h" |
91 #endif | 91 #endif |
92 | 92 |
93 #if defined(OS_ANDROID) | 93 #if defined(OS_ANDROID) |
94 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" | 94 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" |
95 #endif | 95 #endif |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 #if defined(ENABLE_EXTENSIONS) | 1033 #if defined(ENABLE_EXTENSIONS) |
1034 extension_policy_, | 1034 extension_policy_, |
1035 #endif | 1035 #endif |
1036 pref_service_.Pass(), | 1036 pref_service_.Pass(), |
1037 original_profile, | 1037 original_profile, |
1038 guest_session_, | 1038 guest_session_, |
1039 supervised_user_id_, | 1039 supervised_user_id_, |
1040 policy_service_.Pass(), | 1040 policy_service_.Pass(), |
1041 testing_factories_); | 1041 testing_factories_); |
1042 } | 1042 } |
OLD | NEW |