| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 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" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/message_loop/message_loop_proxy.h" | 12 #include "base/message_loop/message_loop_proxy.h" |
| 13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 14 #include "base/prefs/testing_pref_store.h" | 14 #include "base/prefs/testing_pref_store.h" |
| 15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
| 17 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 17 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
| 18 #include "chrome/browser/bookmarks/bookmark_model.h" | 18 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 19 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 19 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 21 #include "chrome/browser/chrome_notification_types.h" | 21 #include "chrome/browser/chrome_notification_types.h" |
| 22 #include "chrome/browser/content_settings/host_content_settings_map.h" | 22 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 23 #include "chrome/browser/extensions/extension_service.h" | 23 #include "chrome/browser/extensions/extension_service.h" |
| 24 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 24 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
| 25 #include "chrome/browser/extensions/extension_system.h" | |
| 26 #include "chrome/browser/extensions/extension_system_factory.h" | 25 #include "chrome/browser/extensions/extension_system_factory.h" |
| 27 #include "chrome/browser/extensions/test_extension_system.h" | 26 #include "chrome/browser/extensions/test_extension_system.h" |
| 28 #include "chrome/browser/favicon/favicon_service.h" | 27 #include "chrome/browser/favicon/favicon_service.h" |
| 29 #include "chrome/browser/favicon/favicon_service_factory.h" | 28 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 30 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" | 29 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" |
| 31 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto
ry.h" | 30 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto
ry.h" |
| 32 #include "chrome/browser/history/history_backend.h" | 31 #include "chrome/browser/history/history_backend.h" |
| 33 #include "chrome/browser/history/history_db_task.h" | 32 #include "chrome/browser/history/history_db_task.h" |
| 34 #include "chrome/browser/history/history_service.h" | 33 #include "chrome/browser/history/history_service.h" |
| 35 #include "chrome/browser/history/history_service_factory.h" | 34 #include "chrome/browser/history/history_service_factory.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 62 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 61 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
| 63 #include "components/policy/core/common/policy_service.h" | 62 #include "components/policy/core/common/policy_service.h" |
| 64 #include "components/user_prefs/user_prefs.h" | 63 #include "components/user_prefs/user_prefs.h" |
| 65 #include "content/public/browser/browser_thread.h" | 64 #include "content/public/browser/browser_thread.h" |
| 66 #include "content/public/browser/cookie_store_factory.h" | 65 #include "content/public/browser/cookie_store_factory.h" |
| 67 #include "content/public/browser/notification_service.h" | 66 #include "content/public/browser/notification_service.h" |
| 68 #include "content/public/browser/render_process_host.h" | 67 #include "content/public/browser/render_process_host.h" |
| 69 #include "content/public/browser/storage_partition.h" | 68 #include "content/public/browser/storage_partition.h" |
| 70 #include "content/public/test/mock_resource_context.h" | 69 #include "content/public/test/mock_resource_context.h" |
| 71 #include "content/public/test/test_utils.h" | 70 #include "content/public/test/test_utils.h" |
| 71 #include "extensions/browser/extension_system.h" |
| 72 #include "extensions/common/constants.h" | 72 #include "extensions/common/constants.h" |
| 73 #include "net/cookies/cookie_monster.h" | 73 #include "net/cookies/cookie_monster.h" |
| 74 #include "net/url_request/url_request_context.h" | 74 #include "net/url_request/url_request_context.h" |
| 75 #include "net/url_request/url_request_context_getter.h" | 75 #include "net/url_request/url_request_context_getter.h" |
| 76 #include "net/url_request/url_request_test_util.h" | 76 #include "net/url_request/url_request_test_util.h" |
| 77 #include "testing/gmock/include/gmock/gmock.h" | 77 #include "testing/gmock/include/gmock/gmock.h" |
| 78 | 78 |
| 79 #if defined(ENABLE_CONFIGURATION_POLICY) | 79 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 80 #include "chrome/browser/policy/schema_registry_service.h" | 80 #include "chrome/browser/policy/schema_registry_service.h" |
| 81 #include "chrome/browser/policy/schema_registry_service_factory.h" | 81 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 path_, | 946 path_, |
| 947 delegate_, | 947 delegate_, |
| 948 extension_policy_, | 948 extension_policy_, |
| 949 pref_service_.Pass(), | 949 pref_service_.Pass(), |
| 950 incognito_, | 950 incognito_, |
| 951 guest_session_, | 951 guest_session_, |
| 952 managed_user_id_, | 952 managed_user_id_, |
| 953 policy_service_.Pass(), | 953 policy_service_.Pass(), |
| 954 testing_factories_)); | 954 testing_factories_)); |
| 955 } | 955 } |
| OLD | NEW |