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

Unified Diff: chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc

Issue 113813003: Cleanup the policy code after the recent moves into the component. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc
diff --git a/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc b/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc
index 5057fe94f515a6277b60e90cdd87f0874ee61913..8f60889119e40d40d9044487aa37942889708395 100644
--- a/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc
+++ b/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc
@@ -323,9 +323,8 @@ void CloudExternalDataPolicyObserverTest::LogInAsDeviceLocalAccount(
PolicyServiceImpl::Providers providers;
providers.push_back(device_local_account_policy_provider_.get());
TestingProfile::Builder builder;
- builder.SetPolicyService(scoped_ptr<PolicyService>(new PolicyServiceImpl(
- providers,
- PolicyServiceImpl::PreprocessCallback())));
+ builder.SetPolicyService(
+ scoped_ptr<PolicyService>(new PolicyServiceImpl(providers)));
profile_ = builder.Build();
profile_->set_profile_name(user_id);
@@ -356,9 +355,8 @@ void CloudExternalDataPolicyObserverTest::LogInAsRegularUser() {
PolicyServiceImpl::Providers providers;
providers.push_back(&user_policy_provider_);
TestingProfile::Builder builder;
- builder.SetPolicyService(scoped_ptr<PolicyService>(new PolicyServiceImpl(
- providers,
- PolicyServiceImpl::PreprocessCallback())));
+ builder.SetPolicyService(
+ scoped_ptr<PolicyService>(new PolicyServiceImpl(providers)));
profile_ = builder.Build();
profile_->set_profile_name(kRegularUserID);
« no previous file with comments | « .gitignore ('k') | chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698