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

Unified Diff: components/autofill/core/browser/autofill_save_card_infobar_mobile.h

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/core/browser/autofill_save_card_infobar_mobile.h
diff --git a/components/autofill/core/browser/autofill_save_card_infobar_mobile.h b/components/autofill/core/browser/autofill_save_card_infobar_mobile.h
index 494d47968954bfdee84d585c80f683b3beffe22a..995bc7d9e08fb3f144ab246fe232378d73de43b0 100644
--- a/components/autofill/core/browser/autofill_save_card_infobar_mobile.h
+++ b/components/autofill/core/browser/autofill_save_card_infobar_mobile.h
@@ -5,7 +5,7 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SAVE_CARD_INFOBAR_MOBILE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SAVE_CARD_INFOBAR_MOBILE_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace infobars {
class InfoBar;
@@ -16,8 +16,8 @@ namespace autofill {
class AutofillSaveCardInfoBarDelegateMobile;
// Creates an infobar for saving a credit card on a mobile device.
-scoped_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
- scoped_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate);
+std::unique_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
+ std::unique_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate);
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698