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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 #include "content/public/test/mock_resource_context.h" | 68 #include "content/public/test/mock_resource_context.h" |
69 #include "content/public/test/test_utils.h" | 69 #include "content/public/test/test_utils.h" |
70 #include "extensions/common/constants.h" | 70 #include "extensions/common/constants.h" |
71 #include "net/cookies/cookie_monster.h" | 71 #include "net/cookies/cookie_monster.h" |
72 #include "net/url_request/url_request_context.h" | 72 #include "net/url_request/url_request_context.h" |
73 #include "net/url_request/url_request_context_getter.h" | 73 #include "net/url_request/url_request_context_getter.h" |
74 #include "net/url_request/url_request_test_util.h" | 74 #include "net/url_request/url_request_test_util.h" |
75 #include "testing/gmock/include/gmock/gmock.h" | 75 #include "testing/gmock/include/gmock/gmock.h" |
76 | 76 |
77 #if defined(ENABLE_CONFIGURATION_POLICY) | 77 #if defined(ENABLE_CONFIGURATION_POLICY) |
78 #include "chrome/browser/policy/configuration_policy_provider.h" | |
79 #include "chrome/browser/policy/policy_service_impl.h" | 78 #include "chrome/browser/policy/policy_service_impl.h" |
80 #include "chrome/browser/policy/schema_registry_service.h" | 79 #include "chrome/browser/policy/schema_registry_service.h" |
81 #include "chrome/browser/policy/schema_registry_service_factory.h" | 80 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 81 #include "components/policy/core/common/configuration_policy_provider.h" |
82 #include "components/policy/core/common/schema.h" | 82 #include "components/policy/core/common/schema.h" |
83 #else | 83 #else |
84 #include "chrome/browser/policy/policy_service_stub.h" | 84 #include "chrome/browser/policy/policy_service_stub.h" |
85 #endif // defined(ENABLE_CONFIGURATION_POLICY) | 85 #endif // defined(ENABLE_CONFIGURATION_POLICY) |
86 | 86 |
87 #if defined(ENABLE_MANAGED_USERS) | 87 #if defined(ENABLE_MANAGED_USERS) |
88 #include "chrome/browser/managed_mode/managed_user_settings_service.h" | 88 #include "chrome/browser/managed_mode/managed_user_settings_service.h" |
89 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" | 89 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" |
90 #endif | 90 #endif |
91 | 91 |
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 | 898 |
899 return scoped_ptr<TestingProfile>(new TestingProfile( | 899 return scoped_ptr<TestingProfile>(new TestingProfile( |
900 path_, | 900 path_, |
901 delegate_, | 901 delegate_, |
902 extension_policy_, | 902 extension_policy_, |
903 pref_service_.Pass(), | 903 pref_service_.Pass(), |
904 incognito_, | 904 incognito_, |
905 managed_user_id_, | 905 managed_user_id_, |
906 testing_factories_)); | 906 testing_factories_)); |
907 } | 907 } |
OLD | NEW |