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/location.h" | 10 #include "base/location.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/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
17 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 17 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
18 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 18 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
19 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" | 19 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" |
20 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" | 20 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" |
21 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h" | 21 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h" |
22 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
23 #include "chrome/browser/chrome_notification_types.h" | 23 #include "chrome/browser/chrome_notification_types.h" |
24 #include "chrome/browser/favicon/chrome_fallback_icon_client_factory.h" | 24 #include "chrome/browser/favicon/chrome_fallback_icon_client_factory.h" |
25 #include "chrome/browser/favicon/fallback_icon_service_factory.h" | 25 #include "chrome/browser/favicon/fallback_icon_service_factory.h" |
26 #include "chrome/browser/favicon/favicon_service_factory.h" | 26 #include "chrome/browser/favicon/favicon_service_factory.h" |
27 #include "chrome/browser/history/chrome_history_client.h" | 27 #include "chrome/browser/history/chrome_history_client.h" |
28 #include "chrome/browser/history/history_service_factory.h" | 28 #include "chrome/browser/history/history_service_factory.h" |
29 #include "chrome/browser/history/web_history_service_factory.h" | 29 #include "chrome/browser/history/web_history_service_factory.h" |
30 #include "chrome/browser/net/pref_proxy_config_tracker.h" | |
31 #include "chrome/browser/net/proxy_service_factory.h" | 30 #include "chrome/browser/net/proxy_service_factory.h" |
32 #include "chrome/browser/policy/profile_policy_connector.h" | 31 #include "chrome/browser/policy/profile_policy_connector.h" |
33 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 32 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
34 #include "chrome/browser/prefs/browser_prefs.h" | 33 #include "chrome/browser/prefs/browser_prefs.h" |
35 #include "chrome/browser/prefs/pref_service_syncable.h" | 34 #include "chrome/browser/prefs/pref_service_syncable.h" |
36 #include "chrome/browser/prerender/prerender_manager.h" | 35 #include "chrome/browser/prerender/prerender_manager.h" |
37 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" | 36 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
38 #include "chrome/browser/profiles/profile_manager.h" | 37 #include "chrome/browser/profiles/profile_manager.h" |
39 #include "chrome/browser/profiles/storage_partition_descriptor.h" | 38 #include "chrome/browser/profiles/storage_partition_descriptor.h" |
40 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 39 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
(...skipping 17 matching lines...) Expand all Loading... |
58 #include "components/history/core/browser/history_backend.h" | 57 #include "components/history/core/browser/history_backend.h" |
59 #include "components/history/core/browser/history_constants.h" | 58 #include "components/history/core/browser/history_constants.h" |
60 #include "components/history/core/browser/history_database_params.h" | 59 #include "components/history/core/browser/history_database_params.h" |
61 #include "components/history/core/browser/history_db_task.h" | 60 #include "components/history/core/browser/history_db_task.h" |
62 #include "components/history/core/browser/history_service.h" | 61 #include "components/history/core/browser/history_service.h" |
63 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 62 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
64 #include "components/keyed_service/core/refcounted_keyed_service.h" | 63 #include "components/keyed_service/core/refcounted_keyed_service.h" |
65 #include "components/omnibox/browser/autocomplete_classifier.h" | 64 #include "components/omnibox/browser/autocomplete_classifier.h" |
66 #include "components/omnibox/browser/in_memory_url_index.h" | 65 #include "components/omnibox/browser/in_memory_url_index.h" |
67 #include "components/policy/core/common/policy_service.h" | 66 #include "components/policy/core/common/policy_service.h" |
| 67 #include "components/proxy_config/pref_proxy_config_tracker.h" |
68 #include "components/ui/zoom/zoom_event_manager.h" | 68 #include "components/ui/zoom/zoom_event_manager.h" |
69 #include "components/user_prefs/user_prefs.h" | 69 #include "components/user_prefs/user_prefs.h" |
70 #include "components/webdata_services/web_data_service_wrapper.h" | 70 #include "components/webdata_services/web_data_service_wrapper.h" |
71 #include "content/public/browser/browser_thread.h" | 71 #include "content/public/browser/browser_thread.h" |
72 #include "content/public/browser/cookie_store_factory.h" | 72 #include "content/public/browser/cookie_store_factory.h" |
73 #include "content/public/browser/notification_service.h" | 73 #include "content/public/browser/notification_service.h" |
74 #include "content/public/browser/render_process_host.h" | 74 #include "content/public/browser/render_process_host.h" |
75 #include "content/public/browser/storage_partition.h" | 75 #include "content/public/browser/storage_partition.h" |
76 #include "content/public/browser/zoom_level_delegate.h" | 76 #include "content/public/browser/zoom_level_delegate.h" |
77 #include "content/public/test/mock_resource_context.h" | 77 #include "content/public/test/mock_resource_context.h" |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 #if defined(ENABLE_EXTENSIONS) | 1055 #if defined(ENABLE_EXTENSIONS) |
1056 extension_policy_, | 1056 extension_policy_, |
1057 #endif | 1057 #endif |
1058 pref_service_.Pass(), | 1058 pref_service_.Pass(), |
1059 original_profile, | 1059 original_profile, |
1060 guest_session_, | 1060 guest_session_, |
1061 supervised_user_id_, | 1061 supervised_user_id_, |
1062 policy_service_.Pass(), | 1062 policy_service_.Pass(), |
1063 testing_factories_); | 1063 testing_factories_); |
1064 } | 1064 } |
OLD | NEW |