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

Side by Side Diff: components/payments/content/payment_request_web_contents_manager.h

Issue 2823823002: Revert of [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_ 5 #ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_
6 #define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_ 6 #define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <unordered_map> 9 #include <unordered_map>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/payments/content/payment_request.h" 12 #include "components/payments/content/payment_request.h"
13 #include "components/payments/mojom/payment_request.mojom.h" 13 #include "components/payments/content/payment_request.mojom.h"
14 #include "content/public/browser/web_contents_user_data.h" 14 #include "content/public/browser/web_contents_user_data.h"
15 #include "mojo/public/cpp/bindings/binding.h" 15 #include "mojo/public/cpp/bindings/binding.h"
16 16
17 namespace content { 17 namespace content {
18 class WebContents; 18 class WebContents;
19 } 19 }
20 20
21 namespace payments { 21 namespace payments {
22 22
23 class PaymentRequestDelegate; 23 class PaymentRequestDelegate;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // the requests themselves call DestroyRequest(). 61 // the requests themselves call DestroyRequest().
62 std::unordered_map<PaymentRequest*, std::unique_ptr<PaymentRequest>> 62 std::unordered_map<PaymentRequest*, std::unique_ptr<PaymentRequest>>
63 payment_requests_; 63 payment_requests_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(PaymentRequestWebContentsManager); 65 DISALLOW_COPY_AND_ASSIGN(PaymentRequestWebContentsManager);
66 }; 66 };
67 67
68 } // namespace payments 68 } // namespace payments
69 69
70 #endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_ 70 #endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_WEB_CONTENTS_MANAGER_H_
OLDNEW
« no previous file with comments | « components/payments/content/payment_request_state_unittest.cc ('k') | components/payments/content/payment_response_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698