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

Unified Diff: chrome/utility/extensions/extensions_handler.cc

Issue 1899083002: Convert //chrome 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 | « chrome/utility/cloud_print/pwg_encoder_unittest.cc ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/extensions/extensions_handler.cc
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc
index 6b5beeeb107eba77a0006149fded8af5959af5a0..859e844450245fab60061bc30c7c1bf8ec58100d 100644
--- a/chrome/utility/extensions/extensions_handler.cc
+++ b/chrome/utility/extensions/extensions_handler.cc
@@ -129,7 +129,7 @@ void ExtensionsHandler::OnParseMediaMetadata(const std::string& mime_type,
int64_t total_size,
bool get_attached_images) {
// Only one IPCDataSource may be created and added to the list of handlers.
- scoped_ptr<metadata::IPCDataSource> source(
+ std::unique_ptr<metadata::IPCDataSource> source(
new metadata::IPCDataSource(total_size));
metadata::MediaMetadataParser* parser = new metadata::MediaMetadataParser(
source.get(), mime_type, get_attached_images);
@@ -196,7 +196,7 @@ void ExtensionsHandler::OnIndexPicasaAlbumsContents(
#if defined(OS_WIN)
void ExtensionsHandler::OnGetWiFiCredentials(const std::string& network_guid) {
- scoped_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create());
+ std::unique_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create());
wifi_service->Initialize(NULL);
std::string key_data;
« no previous file with comments | « chrome/utility/cloud_print/pwg_encoder_unittest.cc ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698