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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1865213004: Convert //chrome/browser/ui 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index b9fa2c022fa39f95c2f76ef242b30d1bb5f7cc44..b9d1732cd8684228650c2df23a39ddfc535cf2d2 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1421,12 +1421,12 @@ void Browser::ShowCertificateViewerInDevTools(
devtools_window->ShowCertificateViewer(cert_id);
}
-scoped_ptr<content::BluetoothChooser> Browser::RunBluetoothChooser(
+std::unique_ptr<content::BluetoothChooser> Browser::RunBluetoothChooser(
content::RenderFrameHost* frame,
const content::BluetoothChooser::EventHandler& event_handler) {
- scoped_ptr<BluetoothChooserDesktop> bluetooth_chooser_desktop(
+ std::unique_ptr<BluetoothChooserDesktop> bluetooth_chooser_desktop(
new BluetoothChooserDesktop(event_handler));
- scoped_ptr<BluetoothChooserBubbleController> bubble_controller(
+ std::unique_ptr<BluetoothChooserBubbleController> bubble_controller(
new BluetoothChooserBubbleController(frame));
BluetoothChooserBubbleController* bubble_controller_ptr =
bubble_controller.get();
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698