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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.cc

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 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 "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) { 56 void TestAutofillClient::OnUnmaskVerificationResult(PaymentsRpcResult result) {
57 } 57 }
58 58
59 void TestAutofillClient::ConfirmSaveCreditCardLocally( 59 void TestAutofillClient::ConfirmSaveCreditCardLocally(
60 const CreditCard& card, 60 const CreditCard& card,
61 const base::Closure& callback) { 61 const base::Closure& callback) {
62 } 62 }
63 63
64 void TestAutofillClient::ConfirmSaveCreditCardToCloud( 64 void TestAutofillClient::ConfirmSaveCreditCardToCloud(
65 const CreditCard& card, 65 const CreditCard& card,
66 scoped_ptr<base::DictionaryValue> legal_message, 66 std::unique_ptr<base::DictionaryValue> legal_message,
67 const base::Closure& callback) { 67 const base::Closure& callback) {
68 callback.Run(); 68 callback.Run();
69 } 69 }
70 70
71 void TestAutofillClient::LoadRiskData( 71 void TestAutofillClient::LoadRiskData(
72 const base::Callback<void(const std::string&)>& callback) { 72 const base::Callback<void(const std::string&)>& callback) {
73 callback.Run("some risk data"); 73 callback.Run("some risk data");
74 } 74 }
75 75
76 bool TestAutofillClient::HasCreditCardScanFeature() { 76 bool TestAutofillClient::HasCreditCardScanFeature() {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 118
119 void TestAutofillClient::OnFirstUserGestureObserved() { 119 void TestAutofillClient::OnFirstUserGestureObserved() {
120 } 120 }
121 121
122 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { 122 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
123 return is_context_secure_; 123 return is_context_secure_;
124 } 124 }
125 125
126 } // namespace autofill 126 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698