| 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_INTERACTIVE_UITEST_BASE
_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE
_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE
_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_BASE
_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" | 14 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" |
| 15 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.
h" | 15 #include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.
h" |
| 16 #include "chrome/test/base/in_process_browser_test.h" | 16 #include "chrome/test/base/in_process_browser_test.h" |
| 17 #include "components/autofill/core/browser/field_types.h" | 17 #include "components/autofill/core/browser/field_types.h" |
| 18 #include "components/autofill/core/browser/personal_data_manager_observer.h" | 18 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
| 19 #include "components/payments/payment_request.mojom.h" | 19 #include "components/payments/content/payment_request.mojom.h" |
| 20 #include "net/test/embedded_test_server/embedded_test_server.h" | 20 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 21 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
| 22 #include "ui/views/widget/widget_observer.h" | 22 #include "ui/views/widget/widget_observer.h" |
| 23 | 23 |
| 24 namespace content { | 24 namespace content { |
| 25 class WebContents; | 25 class WebContents; |
| 26 } // namespace content | 26 } // namespace content |
| 27 | 27 |
| 28 namespace views { | 28 namespace views { |
| 29 class Widget; | 29 class Widget; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 std::unique_ptr<net::EmbeddedTestServer> https_server_; | 182 std::unique_ptr<net::EmbeddedTestServer> https_server_; |
| 183 // Weak, owned by the PaymentRequest object. | 183 // Weak, owned by the PaymentRequest object. |
| 184 TestChromePaymentRequestDelegate* delegate_; | 184 TestChromePaymentRequestDelegate* delegate_; |
| 185 | 185 |
| 186 DISALLOW_COPY_AND_ASSIGN(PaymentRequestInteractiveTestBase); | 186 DISALLOW_COPY_AND_ASSIGN(PaymentRequestInteractiveTestBase); |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 } // namespace payments | 189 } // namespace payments |
| 190 | 190 |
| 191 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_B
ASE_H_ | 191 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_INTERACTIVE_UITEST_B
ASE_H_ |
| OLD | NEW |