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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/browser/web_contents_delegate.h ('k') | content/public/child/request_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index fede9312d4c39b571c9ecf70651520f71c2ecede..df973484d0d98a93526ab6b06869e9c4a28a570b 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -153,7 +153,7 @@ JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager(
return nullptr;
}
-scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser(
+std::unique_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser(
RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler) {
return nullptr;
@@ -186,9 +186,8 @@ void WebContentsDelegate::RequestMediaAccessPermission(
const MediaResponseCallback& callback) {
LOG(ERROR) << "WebContentsDelegate::RequestMediaAccessPermission: "
<< "Not supported.";
- callback.Run(MediaStreamDevices(),
- MEDIA_DEVICE_NOT_SUPPORTED,
- scoped_ptr<MediaStreamUI>());
+ callback.Run(MediaStreamDevices(), MEDIA_DEVICE_NOT_SUPPORTED,
+ std::unique_ptr<MediaStreamUI>());
}
bool WebContentsDelegate::CheckMediaAccessPermission(
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/child/request_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698