OLD | NEW |
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 CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
17 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" | 17 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" |
18 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.
h" | 18 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.
h" |
19 #include "chrome/test/base/in_process_browser_test.h" | 19 #include "chrome/test/base/in_process_browser_test.h" |
20 #include "components/autofill/core/browser/field_types.h" | 20 #include "components/autofill/core/browser/field_types.h" |
21 #include "components/autofill/core/browser/personal_data_manager_observer.h" | 21 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
22 #include "components/payments/content/payment_request.h" | 22 #include "components/payments/content/payment_request.h" |
23 #include "components/payments/mojom/payment_request.mojom.h" | 23 #include "components/payments/content/payment_request.mojom.h" |
24 #include "net/test/embedded_test_server/embedded_test_server.h" | 24 #include "net/test/embedded_test_server/embedded_test_server.h" |
25 #include "testing/gmock/include/gmock/gmock.h" | 25 #include "testing/gmock/include/gmock/gmock.h" |
26 #include "ui/views/widget/widget_observer.h" | 26 #include "ui/views/widget/widget_observer.h" |
27 | 27 |
28 namespace autofill { | 28 namespace autofill { |
29 class AutofillProfile; | 29 class AutofillProfile; |
30 class CreditCard; | 30 class CreditCard; |
31 } | 31 } |
32 | 32 |
33 namespace content { | 33 namespace content { |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // Weak, owned by the PaymentRequest object. | 244 // Weak, owned by the PaymentRequest object. |
245 TestChromePaymentRequestDelegate* delegate_; | 245 TestChromePaymentRequestDelegate* delegate_; |
246 bool incognito_for_testing_; | 246 bool incognito_for_testing_; |
247 | 247 |
248 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase); | 248 DISALLOW_COPY_AND_ASSIGN(PaymentRequestBrowserTestBase); |
249 }; | 249 }; |
250 | 250 |
251 } // namespace payments | 251 } // namespace payments |
252 | 252 |
253 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ | 253 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_BROWSERTEST_BASE_H_ |
OLD | NEW |