Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 92153002: Move ConfigurationPolicyProvider, etc. to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698