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

Unified Diff: components/url_matcher/url_matcher.cc

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « components/url_matcher/url_matcher.h ('k') | components/url_matcher/url_matcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_matcher/url_matcher.cc
diff --git a/components/url_matcher/url_matcher.cc b/components/url_matcher/url_matcher.cc
index f12632236c3abe06820686a8fd9b4a1c2669e3a7..91cd15b61b2a4ba5faaa8cc19ce7a0556994bb39 100644
--- a/components/url_matcher/url_matcher.cc
+++ b/components/url_matcher/url_matcher.cc
@@ -742,8 +742,8 @@ URLMatcherConditionSet::URLMatcherConditionSet(
URLMatcherConditionSet::URLMatcherConditionSet(
ID id,
const Conditions& conditions,
- scoped_ptr<URLMatcherSchemeFilter> scheme_filter,
- scoped_ptr<URLMatcherPortFilter> port_filter)
+ std::unique_ptr<URLMatcherSchemeFilter> scheme_filter,
+ std::unique_ptr<URLMatcherPortFilter> port_filter)
: id_(id),
conditions_(conditions),
scheme_filter_(std::move(scheme_filter)),
@@ -753,8 +753,8 @@ URLMatcherConditionSet::URLMatcherConditionSet(
ID id,
const Conditions& conditions,
const QueryConditions& query_conditions,
- scoped_ptr<URLMatcherSchemeFilter> scheme_filter,
- scoped_ptr<URLMatcherPortFilter> port_filter)
+ std::unique_ptr<URLMatcherSchemeFilter> scheme_filter,
+ std::unique_ptr<URLMatcherPortFilter> port_filter)
: id_(id),
conditions_(conditions),
query_conditions_(query_conditions),
« no previous file with comments | « components/url_matcher/url_matcher.h ('k') | components/url_matcher/url_matcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698