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

Unified Diff: chrome/browser/ui/android/infobars/autofill_save_card_infobar.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/android/infobars/autofill_save_card_infobar.h
diff --git a/chrome/browser/ui/android/infobars/autofill_save_card_infobar.h b/chrome/browser/ui/android/infobars/autofill_save_card_infobar.h
index e1cda7146e2bce42aa0fc4a48d311576ebd84980..498e8f8fbdabe3fae6d06ee42d50ddb36935b919 100644
--- a/chrome/browser/ui/android/infobars/autofill_save_card_infobar.h
+++ b/chrome/browser/ui/android/infobars/autofill_save_card_infobar.h
@@ -7,8 +7,9 @@
#include <jni.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/android/infobars/confirm_infobar.h"
namespace autofill {
@@ -19,7 +20,8 @@ class AutofillSaveCardInfoBarDelegateMobile;
class AutofillSaveCardInfoBar : public ConfirmInfoBar {
public:
explicit AutofillSaveCardInfoBar(
- scoped_ptr<autofill::AutofillSaveCardInfoBarDelegateMobile> delegate);
+ std::unique_ptr<autofill::AutofillSaveCardInfoBarDelegateMobile>
+ delegate);
~AutofillSaveCardInfoBar() override;
// Called when a link in the legal message text was clicked.

Powered by Google App Engine
This is Rietveld 408576698