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

Unified Diff: components/policy/core/browser/configuration_policy_handler_list.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/browser/configuration_policy_handler_list.cc
diff --git a/components/policy/core/browser/configuration_policy_handler_list.cc b/components/policy/core/browser/configuration_policy_handler_list.cc
index 14048383d535a1faab901f70d0ea1d489c09ecae..da5d99b84f98e26bdf49445b65a2f5e221dc01b3 100644
--- a/components/policy/core/browser/configuration_policy_handler_list.cc
+++ b/components/policy/core/browser/configuration_policy_handler_list.cc
@@ -24,7 +24,7 @@ ConfigurationPolicyHandlerList::~ConfigurationPolicyHandlerList() {
}
void ConfigurationPolicyHandlerList::AddHandler(
- scoped_ptr<ConfigurationPolicyHandler> handler) {
+ std::unique_ptr<ConfigurationPolicyHandler> handler) {
handlers_.push_back(handler.release());
}

Powered by Google App Engine
This is Rietveld 408576698