| 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" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/favicon/chrome_fallback_icon_client_factory.h" | 25 #include "chrome/browser/favicon/chrome_fallback_icon_client_factory.h" |
| 26 #include "chrome/browser/favicon/fallback_icon_service_factory.h" | 26 #include "chrome/browser/favicon/fallback_icon_service_factory.h" |
| 27 #include "chrome/browser/favicon/favicon_service_factory.h" | 27 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 28 #include "chrome/browser/history/chrome_history_client.h" | 28 #include "chrome/browser/history/chrome_history_client.h" |
| 29 #include "chrome/browser/history/history_service_factory.h" | 29 #include "chrome/browser/history/history_service_factory.h" |
| 30 #include "chrome/browser/history/web_history_service_factory.h" | 30 #include "chrome/browser/history/web_history_service_factory.h" |
| 31 #include "chrome/browser/net/proxy_service_factory.h" | 31 #include "chrome/browser/net/proxy_service_factory.h" |
| 32 #include "chrome/browser/policy/profile_policy_connector.h" | 32 #include "chrome/browser/policy/profile_policy_connector.h" |
| 33 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 33 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
| 34 #include "chrome/browser/prefs/browser_prefs.h" | 34 #include "chrome/browser/prefs/browser_prefs.h" |
| 35 #include "chrome/browser/prefs/pref_service_syncable.h" | |
| 36 #include "chrome/browser/prefs/pref_service_syncable_util.h" | 35 #include "chrome/browser/prefs/pref_service_syncable_util.h" |
| 37 #include "chrome/browser/prerender/prerender_manager.h" | 36 #include "chrome/browser/prerender/prerender_manager.h" |
| 38 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" | 37 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
| 39 #include "chrome/browser/profiles/profile_manager.h" | 38 #include "chrome/browser/profiles/profile_manager.h" |
| 40 #include "chrome/browser/profiles/storage_partition_descriptor.h" | 39 #include "chrome/browser/profiles/storage_partition_descriptor.h" |
| 41 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 40 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
| 42 #include "chrome/browser/sync/glue/sync_start_util.h" | 41 #include "chrome/browser/sync/glue/sync_start_util.h" |
| 43 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" | 42 #include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" |
| 44 #include "chrome/browser/web_data_service_factory.h" | 43 #include "chrome/browser/web_data_service_factory.h" |
| 45 #include "chrome/common/chrome_constants.h" | 44 #include "chrome/common/chrome_constants.h" |
| 46 #include "chrome/common/chrome_switches.h" | 45 #include "chrome/common/chrome_switches.h" |
| 47 #include "chrome/common/pref_names.h" | 46 #include "chrome/common/pref_names.h" |
| 48 #include "chrome/common/url_constants.h" | 47 #include "chrome/common/url_constants.h" |
| 49 #include "chrome/test/base/history_index_restore_observer.h" | 48 #include "chrome/test/base/history_index_restore_observer.h" |
| 50 #include "chrome/test/base/testing_pref_service_syncable.h" | |
| 51 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 52 #include "components/bookmarks/browser/bookmark_model.h" | 50 #include "components/bookmarks/browser/bookmark_model.h" |
| 53 #include "components/bookmarks/common/bookmark_constants.h" | 51 #include "components/bookmarks/common/bookmark_constants.h" |
| 54 #include "components/content_settings/core/browser/host_content_settings_map.h" | 52 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 55 #include "components/favicon/core/fallback_icon_service.h" | 53 #include "components/favicon/core/fallback_icon_service.h" |
| 56 #include "components/favicon/core/favicon_service.h" | 54 #include "components/favicon/core/favicon_service.h" |
| 57 #include "components/history/content/browser/content_visit_delegate.h" | 55 #include "components/history/content/browser/content_visit_delegate.h" |
| 58 #include "components/history/content/browser/history_database_helper.h" | 56 #include "components/history/content/browser/history_database_helper.h" |
| 59 #include "components/history/core/browser/history_backend.h" | 57 #include "components/history/core/browser/history_backend.h" |
| 60 #include "components/history/core/browser/history_constants.h" | 58 #include "components/history/core/browser/history_constants.h" |
| 61 #include "components/history/core/browser/history_database_params.h" | 59 #include "components/history/core/browser/history_database_params.h" |
| 62 #include "components/history/core/browser/history_db_task.h" | 60 #include "components/history/core/browser/history_db_task.h" |
| 63 #include "components/history/core/browser/history_service.h" | 61 #include "components/history/core/browser/history_service.h" |
| 64 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 62 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 65 #include "components/keyed_service/core/refcounted_keyed_service.h" | 63 #include "components/keyed_service/core/refcounted_keyed_service.h" |
| 66 #include "components/omnibox/browser/autocomplete_classifier.h" | 64 #include "components/omnibox/browser/autocomplete_classifier.h" |
| 67 #include "components/omnibox/browser/in_memory_url_index.h" | 65 #include "components/omnibox/browser/in_memory_url_index.h" |
| 68 #include "components/policy/core/common/policy_service.h" | 66 #include "components/policy/core/common/policy_service.h" |
| 69 #include "components/proxy_config/pref_proxy_config_tracker.h" | 67 #include "components/proxy_config/pref_proxy_config_tracker.h" |
| 68 #include "components/syncable_prefs/pref_service_syncable.h" |
| 69 #include "components/syncable_prefs/testing_pref_service_syncable.h" |
| 70 #include "components/ui/zoom/zoom_event_manager.h" | 70 #include "components/ui/zoom/zoom_event_manager.h" |
| 71 #include "components/user_prefs/user_prefs.h" | 71 #include "components/user_prefs/user_prefs.h" |
| 72 #include "components/webdata_services/web_data_service_wrapper.h" | 72 #include "components/webdata_services/web_data_service_wrapper.h" |
| 73 #include "content/public/browser/browser_thread.h" | 73 #include "content/public/browser/browser_thread.h" |
| 74 #include "content/public/browser/cookie_store_factory.h" | 74 #include "content/public/browser/cookie_store_factory.h" |
| 75 #include "content/public/browser/notification_service.h" | 75 #include "content/public/browser/notification_service.h" |
| 76 #include "content/public/browser/render_process_host.h" | 76 #include "content/public/browser/render_process_host.h" |
| 77 #include "content/public/browser/storage_partition.h" | 77 #include "content/public/browser/storage_partition.h" |
| 78 #include "content/public/browser/zoom_level_delegate.h" | 78 #include "content/public/browser/zoom_level_delegate.h" |
| 79 #include "content/public/test/mock_resource_context.h" | 79 #include "content/public/test/mock_resource_context.h" |
| (...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 #if defined(ENABLE_EXTENSIONS) | 1048 #if defined(ENABLE_EXTENSIONS) |
| 1049 extension_policy_, | 1049 extension_policy_, |
| 1050 #endif | 1050 #endif |
| 1051 pref_service_.Pass(), | 1051 pref_service_.Pass(), |
| 1052 original_profile, | 1052 original_profile, |
| 1053 guest_session_, | 1053 guest_session_, |
| 1054 supervised_user_id_, | 1054 supervised_user_id_, |
| 1055 policy_service_.Pass(), | 1055 policy_service_.Pass(), |
| 1056 testing_factories_); | 1056 testing_factories_); |
| 1057 } | 1057 } |
| OLD | NEW |