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

Side by Side Diff: components/autofill/content/browser/autocheckout_request_manager.cc

Issue 20420002: Make Wallet respect whether or not shipping address is required. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wallet client respects delegates shipping preference. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/content/browser/autocheckout_request_manager.h" 5 #include "components/autofill/content/browser/autocheckout_request_manager.h"
6 6
7 #include "components/autofill/core/browser/autofill_manager_delegate.h" 7 #include "components/autofill/core/browser/autofill_manager_delegate.h"
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 9
10 namespace { 10 namespace {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 std::string AutocheckoutRequestManager::GetRiskData() const { 59 std::string AutocheckoutRequestManager::GetRiskData() const {
60 NOTREACHED(); 60 NOTREACHED();
61 return std::string(); 61 return std::string();
62 } 62 }
63 63
64 std::string AutocheckoutRequestManager::GetWalletCookieValue() const { 64 std::string AutocheckoutRequestManager::GetWalletCookieValue() const {
65 return std::string(); 65 return std::string();
66 } 66 }
67 67
68 bool AutocheckoutRequestManager::IsShippingAddressRequired() const {
69 NOTREACHED();
70 return true;
71 }
72
68 void AutocheckoutRequestManager::OnDidAcceptLegalDocuments() { 73 void AutocheckoutRequestManager::OnDidAcceptLegalDocuments() {
69 NOTREACHED(); 74 NOTREACHED();
70 } 75 }
71 76
72 void AutocheckoutRequestManager::OnDidAuthenticateInstrument(bool success) { 77 void AutocheckoutRequestManager::OnDidAuthenticateInstrument(bool success) {
73 NOTREACHED(); 78 NOTREACHED();
74 } 79 }
75 80
76 void AutocheckoutRequestManager::OnDidGetFullWallet( 81 void AutocheckoutRequestManager::OnDidGetFullWallet(
77 scoped_ptr<wallet::FullWallet> full_wallet) { 82 scoped_ptr<wallet::FullWallet> full_wallet) {
(...skipping 18 matching lines...) Expand all
96 wallet::WalletClient::ErrorType error_type) { 101 wallet::WalletClient::ErrorType error_type) {
97 // Nothing to be done. |error_type| is logged by |metric_logger_|. 102 // Nothing to be done. |error_type| is logged by |metric_logger_|.
98 } 103 }
99 104
100 AutocheckoutRequestManager::AutocheckoutRequestManager( 105 AutocheckoutRequestManager::AutocheckoutRequestManager(
101 net::URLRequestContextGetter* request_context_getter) 106 net::URLRequestContextGetter* request_context_getter)
102 : wallet_client_(request_context_getter, this) { 107 : wallet_client_(request_context_getter, this) {
103 } 108 }
104 109
105 } // namespace autofill 110 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698