| Index: extensions/common/url_pattern_set.h
|
| diff --git a/extensions/common/url_pattern_set.h b/extensions/common/url_pattern_set.h
|
| index 717779ced5d3fe570dc06d025ec1e63c79b833de..90b50f8bb36469a622215e621cf4a34ae5286ed5 100644
|
| --- a/extensions/common/url_pattern_set.h
|
| +++ b/extensions/common/url_pattern_set.h
|
| @@ -8,9 +8,9 @@
|
| #include <stddef.h>
|
|
|
| #include <iosfwd>
|
| +#include <memory>
|
| #include <set>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "extensions/common/url_pattern.h"
|
|
|
| class GURL;
|
| @@ -99,14 +99,14 @@ class URLPatternSet {
|
| bool OverlapsWith(const URLPatternSet& other) const;
|
|
|
| // Converts to and from Value for serialization to preferences.
|
| - scoped_ptr<base::ListValue> ToValue() const;
|
| + std::unique_ptr<base::ListValue> ToValue() const;
|
| bool Populate(const base::ListValue& value,
|
| int valid_schemes,
|
| bool allow_file_access,
|
| std::string* error);
|
|
|
| // Converts to and from a vector of strings.
|
| - scoped_ptr<std::vector<std::string> > ToStringVector() const;
|
| + std::unique_ptr<std::vector<std::string>> ToStringVector() const;
|
| bool Populate(const std::vector<std::string>& patterns,
|
| int valid_schemes,
|
| bool allow_file_access,
|
|
|