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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #include "components/keyed_service/core/refcounted_keyed_service.h" | 68 #include "components/keyed_service/core/refcounted_keyed_service.h" |
69 #include "components/omnibox/browser/autocomplete_classifier.h" | 69 #include "components/omnibox/browser/autocomplete_classifier.h" |
70 #include "components/omnibox/browser/history_index_restore_observer.h" | 70 #include "components/omnibox/browser/history_index_restore_observer.h" |
71 #include "components/omnibox/browser/in_memory_url_index.h" | 71 #include "components/omnibox/browser/in_memory_url_index.h" |
72 #include "components/policy/core/common/configuration_policy_provider.h" | 72 #include "components/policy/core/common/configuration_policy_provider.h" |
73 #include "components/policy/core/common/policy_service.h" | 73 #include "components/policy/core/common/policy_service.h" |
74 #include "components/policy/core/common/policy_service_impl.h" | 74 #include "components/policy/core/common/policy_service_impl.h" |
75 #include "components/policy/core/common/schema.h" | 75 #include "components/policy/core/common/schema.h" |
76 #include "components/prefs/testing_pref_store.h" | 76 #include "components/prefs/testing_pref_store.h" |
77 #include "components/proxy_config/pref_proxy_config_tracker.h" | 77 #include "components/proxy_config/pref_proxy_config_tracker.h" |
78 #include "components/sync/api/fake_sync_change_processor.h" | 78 #include "components/sync/model/fake_sync_change_processor.h" |
79 #include "components/sync/api/sync_error_factory_mock.h" | 79 #include "components/sync/model/sync_error_factory_mock.h" |
80 #include "components/syncable_prefs/pref_service_mock_factory.h" | 80 #include "components/syncable_prefs/pref_service_mock_factory.h" |
81 #include "components/syncable_prefs/pref_service_syncable.h" | 81 #include "components/syncable_prefs/pref_service_syncable.h" |
82 #include "components/syncable_prefs/testing_pref_service_syncable.h" | 82 #include "components/syncable_prefs/testing_pref_service_syncable.h" |
83 #include "components/user_prefs/user_prefs.h" | 83 #include "components/user_prefs/user_prefs.h" |
84 #include "components/webdata_services/web_data_service_wrapper.h" | 84 #include "components/webdata_services/web_data_service_wrapper.h" |
85 #include "components/zoom/zoom_event_manager.h" | 85 #include "components/zoom/zoom_event_manager.h" |
86 #include "content/public/browser/browser_thread.h" | 86 #include "content/public/browser/browser_thread.h" |
87 #include "content/public/browser/cookie_store_factory.h" | 87 #include "content/public/browser/cookie_store_factory.h" |
88 #include "content/public/browser/notification_service.h" | 88 #include "content/public/browser/notification_service.h" |
89 #include "content/public/browser/render_process_host.h" | 89 #include "content/public/browser/render_process_host.h" |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 // Note: Owned by |original_profile|. | 1089 // Note: Owned by |original_profile|. |
1090 return new TestingProfile(path_, delegate_, | 1090 return new TestingProfile(path_, delegate_, |
1091 #if defined(ENABLE_EXTENSIONS) | 1091 #if defined(ENABLE_EXTENSIONS) |
1092 extension_policy_, | 1092 extension_policy_, |
1093 #endif | 1093 #endif |
1094 std::move(pref_service_), original_profile, | 1094 std::move(pref_service_), original_profile, |
1095 guest_session_, supervised_user_id_, | 1095 guest_session_, supervised_user_id_, |
1096 std::move(policy_service_), testing_factories_, | 1096 std::move(policy_service_), testing_factories_, |
1097 profile_name_); | 1097 profile_name_); |
1098 } | 1098 } |
OLD | NEW |