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

Side by Side Diff: content/browser/payments/payment_app_database.h

Issue 2899473003: PaymentHandler: Remove unnecessary parameters in DidHasPaymentInstrument. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | content/browser/payments/payment_app_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_ 5 #ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_
6 #define CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_ 6 #define CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void DidGetKeysOfPaymentInstruments(KeysOfPaymentInstrumentsCallback callback, 107 void DidGetKeysOfPaymentInstruments(KeysOfPaymentInstrumentsCallback callback,
108 const std::vector<std::string>& data, 108 const std::vector<std::string>& data,
109 ServiceWorkerStatusCode status); 109 ServiceWorkerStatusCode status);
110 110
111 // HasPaymentInstrument callbacks 111 // HasPaymentInstrument callbacks
112 void DidFindRegistrationToHasPaymentInstrument( 112 void DidFindRegistrationToHasPaymentInstrument(
113 const std::string& instrument_key, 113 const std::string& instrument_key,
114 HasPaymentInstrumentCallback callback, 114 HasPaymentInstrumentCallback callback,
115 ServiceWorkerStatusCode status, 115 ServiceWorkerStatusCode status,
116 scoped_refptr<ServiceWorkerRegistration> registration); 116 scoped_refptr<ServiceWorkerRegistration> registration);
117 void DidHasPaymentInstrument(int64_t registration_id, 117 void DidHasPaymentInstrument(DeletePaymentInstrumentCallback callback,
118 const std::string& instrument_key,
119 DeletePaymentInstrumentCallback callback,
120 const std::vector<std::string>& data, 118 const std::vector<std::string>& data,
121 ServiceWorkerStatusCode status); 119 ServiceWorkerStatusCode status);
122 120
123 // WritePaymentInstrument callbacks 121 // WritePaymentInstrument callbacks
124 void DidFindRegistrationToWritePaymentInstrument( 122 void DidFindRegistrationToWritePaymentInstrument(
125 const std::string& instrument_key, 123 const std::string& instrument_key,
126 payments::mojom::PaymentInstrumentPtr instrument, 124 payments::mojom::PaymentInstrumentPtr instrument,
127 WritePaymentInstrumentCallback callback, 125 WritePaymentInstrumentCallback callback,
128 ServiceWorkerStatusCode status, 126 ServiceWorkerStatusCode status,
129 scoped_refptr<ServiceWorkerRegistration> registration); 127 scoped_refptr<ServiceWorkerRegistration> registration);
(...skipping 16 matching lines...) Expand all
146 144
147 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; 145 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
148 base::WeakPtrFactory<PaymentAppDatabase> weak_ptr_factory_; 146 base::WeakPtrFactory<PaymentAppDatabase> weak_ptr_factory_;
149 147
150 DISALLOW_COPY_AND_ASSIGN(PaymentAppDatabase); 148 DISALLOW_COPY_AND_ASSIGN(PaymentAppDatabase);
151 }; 149 };
152 150
153 } // namespace content 151 } // namespace content
154 152
155 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_ 153 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/payments/payment_app_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698