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

Unified Diff: chrome/browser/ui/views/external_protocol_dialog.h

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
Index: chrome/browser/ui/views/external_protocol_dialog.h
diff --git a/chrome/browser/ui/views/external_protocol_dialog.h b/chrome/browser/ui/views/external_protocol_dialog.h
index 6532be9b178282152836e40e504894f6d2020b34..0fdfe70710efb2adbce0bc441e711154842ee1c2 100644
--- a/chrome/browser/ui/views/external_protocol_dialog.h
+++ b/chrome/browser/ui/views/external_protocol_dialog.h
@@ -20,7 +20,7 @@ class MessageBoxView;
class ExternalProtocolDialog : public views::DialogDelegate {
public:
// RunExternalProtocolDialog calls this private constructor.
- ExternalProtocolDialog(scoped_ptr<const ProtocolDialogDelegate> delegate,
+ ExternalProtocolDialog(std::unique_ptr<const ProtocolDialogDelegate> delegate,
int render_process_host_id,
int routing_id);
@@ -39,7 +39,7 @@ class ExternalProtocolDialog : public views::DialogDelegate {
ui::ModalType GetModalType() const override;
private:
- const scoped_ptr<const ProtocolDialogDelegate> delegate_;
+ const std::unique_ptr<const ProtocolDialogDelegate> delegate_;
// The message box view whose commands we handle.
views::MessageBoxView* message_box_view_;
« no previous file with comments | « chrome/browser/ui/views/extensions/media_galleries_dialog_views.h ('k') | chrome/browser/ui/views/external_protocol_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698