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

Unified Diff: chrome/browser/extensions/external_policy_loader_unittest.cc

Issue 2782553004: Move TestingPrefService to use unique_ptr<Value> (Closed)
Patch Set: comments Created 3 years, 9 months 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
Index: chrome/browser/extensions/external_policy_loader_unittest.cc
diff --git a/chrome/browser/extensions/external_policy_loader_unittest.cc b/chrome/browser/extensions/external_policy_loader_unittest.cc
index 977f79a638510264737dcec9e955c63d836b3605..f895bf3909a268f63a84318857bf6014944f9f8f 100644
--- a/chrome/browser/extensions/external_policy_loader_unittest.cc
+++ b/chrome/browser/extensions/external_policy_loader_unittest.cc
@@ -53,7 +53,7 @@ class MockExternalPolicyProviderVisitor
const std::set<std::string>& expected_extensions) {
profile_.reset(new TestingProfile);
profile_->GetTestingPrefService()->SetManagedPref(
- pref_names::kInstallForceList, policy_forcelist.DeepCopy());
+ pref_names::kInstallForceList, policy_forcelist.CreateDeepCopy());
provider_.reset(new ExternalProviderImpl(
this,
new ExternalPolicyLoader(

Powered by Google App Engine
This is Rietveld 408576698