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" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 #include "content/public/test/mock_resource_context.h" | 69 #include "content/public/test/mock_resource_context.h" |
70 #include "content/public/test/test_utils.h" | 70 #include "content/public/test/test_utils.h" |
71 #include "extensions/common/constants.h" | 71 #include "extensions/common/constants.h" |
72 #include "net/cookies/cookie_monster.h" | 72 #include "net/cookies/cookie_monster.h" |
73 #include "net/url_request/url_request_context.h" | 73 #include "net/url_request/url_request_context.h" |
74 #include "net/url_request/url_request_context_getter.h" | 74 #include "net/url_request/url_request_context_getter.h" |
75 #include "net/url_request/url_request_test_util.h" | 75 #include "net/url_request/url_request_test_util.h" |
76 #include "testing/gmock/include/gmock/gmock.h" | 76 #include "testing/gmock/include/gmock/gmock.h" |
77 | 77 |
78 #if defined(ENABLE_CONFIGURATION_POLICY) | 78 #if defined(ENABLE_CONFIGURATION_POLICY) |
79 #include "chrome/browser/policy/configuration_policy_provider.h" | |
80 #include "chrome/browser/policy/policy_service_impl.h" | 79 #include "chrome/browser/policy/policy_service_impl.h" |
81 #include "chrome/browser/policy/schema_registry_service.h" | 80 #include "chrome/browser/policy/schema_registry_service.h" |
82 #include "chrome/browser/policy/schema_registry_service_factory.h" | 81 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 82 #include "components/policy/core/common/configuration_policy_provider.h" |
83 #include "components/policy/core/common/schema.h" | 83 #include "components/policy/core/common/schema.h" |
84 #else | 84 #else |
85 #include "chrome/browser/policy/policy_service_stub.h" | 85 #include "chrome/browser/policy/policy_service_stub.h" |
86 #endif // defined(ENABLE_CONFIGURATION_POLICY) | 86 #endif // defined(ENABLE_CONFIGURATION_POLICY) |
87 | 87 |
88 #if defined(ENABLE_MANAGED_USERS) | 88 #if defined(ENABLE_MANAGED_USERS) |
89 #include "chrome/browser/managed_mode/managed_user_settings_service.h" | 89 #include "chrome/browser/managed_mode/managed_user_settings_service.h" |
90 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" | 90 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" |
91 #endif | 91 #endif |
92 | 92 |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 return scoped_ptr<TestingProfile>(new TestingProfile( | 910 return scoped_ptr<TestingProfile>(new TestingProfile( |
911 path_, | 911 path_, |
912 delegate_, | 912 delegate_, |
913 extension_policy_, | 913 extension_policy_, |
914 pref_service_.Pass(), | 914 pref_service_.Pass(), |
915 incognito_, | 915 incognito_, |
916 managed_user_id_, | 916 managed_user_id_, |
917 policy_service_.Pass(), | 917 policy_service_.Pass(), |
918 testing_factories_)); | 918 testing_factories_)); |
919 } | 919 } |
OLD | NEW |