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

Unified Diff: components/policy/core/common/configuration_policy_provider.cc

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias Created 4 years, 8 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: components/policy/core/common/configuration_policy_provider.cc
diff --git a/components/policy/core/common/configuration_policy_provider.cc b/components/policy/core/common/configuration_policy_provider.cc
index 03fd8d7dd2accc22da17dec26372dcc034bebed8..17ff41870004c330b7d03804041ccf3e7bdab05d 100644
--- a/components/policy/core/common/configuration_policy_provider.cc
+++ b/components/policy/core/common/configuration_policy_provider.cc
@@ -42,7 +42,7 @@ bool ConfigurationPolicyProvider::IsInitializationComplete(
}
void ConfigurationPolicyProvider::UpdatePolicy(
- scoped_ptr<PolicyBundle> bundle) {
+ std::unique_ptr<PolicyBundle> bundle) {
if (bundle.get())
policy_bundle_.Swap(bundle.get());
else

Powered by Google App Engine
This is Rietveld 408576698