Index: extensions/common/api/sockets/sockets_manifest_permission.h |
diff --git a/extensions/common/api/sockets/sockets_manifest_permission.h b/extensions/common/api/sockets/sockets_manifest_permission.h |
index 555795769a027886fb290e146f9452b6a97bece5..3d1b92c693c5cf00d4d1eff5499a7d2f8298308a 100644 |
--- a/extensions/common/api/sockets/sockets_manifest_permission.h |
+++ b/extensions/common/api/sockets/sockets_manifest_permission.h |
@@ -31,7 +31,7 @@ class SocketsManifestPermission : public ManifestPermission { |
// Tries to construct the info based on |value|, as it would have appeared in |
// the manifest. Sets |error| and returns an empty scoped_ptr on failure. |
- static scoped_ptr<SocketsManifestPermission> FromValue( |
+ static std::unique_ptr<SocketsManifestPermission> FromValue( |
const base::Value& value, |
base::string16* error); |
@@ -45,7 +45,7 @@ class SocketsManifestPermission : public ManifestPermission { |
std::string id() const override; |
PermissionIDSet GetPermissions() const override; |
bool FromValue(const base::Value* value) override; |
- scoped_ptr<base::Value> ToValue() const override; |
+ std::unique_ptr<base::Value> ToValue() const override; |
ManifestPermission* Diff(const ManifestPermission* rhs) const override; |
ManifestPermission* Union(const ManifestPermission* rhs) const override; |
ManifestPermission* Intersect(const ManifestPermission* rhs) const override; |