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

Unified Diff: chrome/browser/ui/autofill/credit_card_scanner_view.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/autofill/credit_card_scanner_view.h
diff --git a/chrome/browser/ui/autofill/credit_card_scanner_view.h b/chrome/browser/ui/autofill/credit_card_scanner_view.h
index c01e2ebf91477da48b48e1b2d2f67f67dafa0b6d..079b928b5c69e27f5954c1e5b257ea5edcbd1bcf 100644
--- a/chrome/browser/ui/autofill/credit_card_scanner_view.h
+++ b/chrome/browser/ui/autofill/credit_card_scanner_view.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_UI_AUTOFILL_CREDIT_CARD_SCANNER_VIEW_H_
#define CHROME_BROWSER_UI_AUTOFILL_CREDIT_CARD_SCANNER_VIEW_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/memory/weak_ptr.h"
namespace content {
@@ -26,7 +27,7 @@ class CreditCardScannerView {
// Creates a view for the credit card scanner UI. The view is associated with
// the |web_contents| and notifies the |delegate| when a scan is cancelled or
// completed. Should be called only if CanShow() returns true.
- static scoped_ptr<CreditCardScannerView> Create(
+ static std::unique_ptr<CreditCardScannerView> Create(
const base::WeakPtr<CreditCardScannerViewDelegate>& delegate,
content::WebContents* web_contents);
« no previous file with comments | « chrome/browser/ui/autofill/credit_card_scanner_controller.cc ('k') | chrome/browser/ui/autofill/credit_card_scanner_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698