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

Side by Side Diff: chrome/browser/ui/autofill/credit_card_scanner_view.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "chrome/browser/ui/autofill/credit_card_scanner_view.h" 6 #include "chrome/browser/ui/autofill/credit_card_scanner_view.h"
7 #include "chrome/common/features.h" 7 #include "chrome/common/features.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
11 // Not implemented on other platforms yet. 11 // Not implemented on other platforms yet.
12 #if !BUILDFLAG(ANDROID_JAVA_UI) 12 #if !BUILDFLAG(ANDROID_JAVA_UI)
13 // static 13 // static
14 bool CreditCardScannerView::CanShow() { 14 bool CreditCardScannerView::CanShow() {
15 return false; 15 return false;
16 } 16 }
17 17
18 // static 18 // static
19 scoped_ptr<CreditCardScannerView> CreditCardScannerView::Create( 19 std::unique_ptr<CreditCardScannerView> CreditCardScannerView::Create(
20 const base::WeakPtr<CreditCardScannerViewDelegate>& delegate, 20 const base::WeakPtr<CreditCardScannerViewDelegate>& delegate,
21 content::WebContents* web_contents) { 21 content::WebContents* web_contents) {
22 return scoped_ptr<CreditCardScannerView>(); 22 return std::unique_ptr<CreditCardScannerView>();
23 } 23 }
24 #endif // !defined(OS_ANDROID) 24 #endif // !defined(OS_ANDROID)
25 25
26 } // namespace autofill 26 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/credit_card_scanner_view.h ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698