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

Unified Diff: extensions/common/manifest_handlers/mime_types_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/manifest_handlers/mime_types_handler.cc
diff --git a/extensions/common/manifest_handlers/mime_types_handler.cc b/extensions/common/manifest_handlers/mime_types_handler.cc
index 3c90b6095004af1d32ca7bb2a2a77de3b1950511..364305a0413bb84bea5e4a83b792ec001d512f54 100644
--- a/extensions/common/manifest_handlers/mime_types_handler.cc
+++ b/extensions/common/manifest_handlers/mime_types_handler.cc
@@ -103,7 +103,7 @@ bool MimeTypesHandlerParser::Parse(extensions::Extension* extension,
return false;
}
- scoped_ptr<MimeTypesHandlerInfo> info(new MimeTypesHandlerInfo);
+ std::unique_ptr<MimeTypesHandlerInfo> info(new MimeTypesHandlerInfo);
info->handler_.set_extension_id(extension->id());
for (size_t i = 0; i < mime_types_value->GetSize(); ++i) {
std::string filter;
« no previous file with comments | « extensions/common/manifest_handlers/launcher_page_info.cc ('k') | extensions/common/manifest_handlers/nacl_modules_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698