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

Unified Diff: components/url_matcher/url_matcher_factory.h

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.cc ('k') | components/url_matcher/url_matcher_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_matcher/url_matcher_factory.h
diff --git a/components/url_matcher/url_matcher_factory.h b/components/url_matcher/url_matcher_factory.h
index e65edecb551c90830b9f16d9d6870562ab3e88b0..8267dc4732f7f4fb1fef767b1ce9427ee1e23442 100644
--- a/components/url_matcher/url_matcher_factory.h
+++ b/components/url_matcher/url_matcher_factory.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_URL_MATCHER_URL_MATCHER_FACTORY_H_
#define COMPONENTS_URL_MATCHER_URL_MATCHER_FACTORY_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -49,11 +50,13 @@ class URL_MATCHER_EXPORT URLMatcherFactory {
const base::Value* value,
std::string* error);
- static scoped_ptr<URLMatcherSchemeFilter> CreateURLMatcherScheme(
- const base::Value* value, std::string* error);
+ static std::unique_ptr<URLMatcherSchemeFilter> CreateURLMatcherScheme(
+ const base::Value* value,
+ std::string* error);
- static scoped_ptr<URLMatcherPortFilter> CreateURLMatcherPorts(
- const base::Value* value, std::string* error);
+ static std::unique_ptr<URLMatcherPortFilter> CreateURLMatcherPorts(
+ const base::Value* value,
+ std::string* error);
DISALLOW_IMPLICIT_CONSTRUCTORS(URLMatcherFactory);
};
« no previous file with comments | « components/url_matcher/url_matcher.cc ('k') | components/url_matcher/url_matcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698