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

Unified Diff: extensions/common/api/sockets/sockets_manifest_handler.cc

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: extensions/common/api/sockets/sockets_manifest_handler.cc
diff --git a/extensions/common/api/sockets/sockets_manifest_handler.cc b/extensions/common/api/sockets/sockets_manifest_handler.cc
index 113dc6eca5a68ae122a1bc7a04cb4a19d526c0a8..cad731efaa6be6f80ca72a87aab2df28864fc9f2 100644
--- a/extensions/common/api/sockets/sockets_manifest_handler.cc
+++ b/extensions/common/api/sockets/sockets_manifest_handler.cc
@@ -19,7 +19,7 @@ bool SocketsManifestHandler::Parse(Extension* extension,
base::string16* error) {
const base::Value* sockets = NULL;
CHECK(extension->manifest()->Get(manifest_keys::kSockets, &sockets));
- scoped_ptr<SocketsManifestData> data =
+ std::unique_ptr<SocketsManifestData> data =
SocketsManifestData::FromValue(*sockets, error);
if (!data)
return false;
« no previous file with comments | « extensions/common/api/sockets/sockets_manifest_data.cc ('k') | extensions/common/api/sockets/sockets_manifest_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698