| OLD | NEW |
| 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 "base/strings/utf_string_conversions.h" | 5 #include "base/strings/utf_string_conversions.h" |
| 6 #include "base/tuple.h" | 6 #include "base/tuple.h" |
| 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 8 #include "chrome/test/base/testing_profile.h" | 8 #include "chrome/test/base/testing_profile.h" |
| 9 #include "components/autofill/browser/autofill_common_test.h" | |
| 10 #include "components/autofill/browser/autofill_manager.h" | |
| 11 #include "components/autofill/browser/autofill_metrics.h" | |
| 12 #include "components/autofill/browser/form_structure.h" | |
| 13 #include "components/autofill/browser/test_autofill_driver.h" | |
| 14 #include "components/autofill/browser/test_autofill_manager_delegate.h" | |
| 15 #include "components/autofill/content/browser/autocheckout_manager.h" | 9 #include "components/autofill/content/browser/autocheckout_manager.h" |
| 10 #include "components/autofill/core/browser/autofill_common_test.h" |
| 11 #include "components/autofill/core/browser/autofill_manager.h" |
| 12 #include "components/autofill/core/browser/autofill_metrics.h" |
| 13 #include "components/autofill/core/browser/form_structure.h" |
| 14 #include "components/autofill/core/browser/test_autofill_driver.h" |
| 15 #include "components/autofill/core/browser/test_autofill_manager_delegate.h" |
| 16 #include "components/autofill/core/common/autofill_messages.h" | 16 #include "components/autofill/core/common/autofill_messages.h" |
| 17 #include "components/autofill/core/common/form_data.h" | 17 #include "components/autofill/core/common/form_data.h" |
| 18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
| 19 #include "content/public/test/mock_render_process_host.h" | 19 #include "content/public/test/mock_render_process_host.h" |
| 20 #include "content/public/test/test_browser_thread.h" | 20 #include "content/public/test/test_browser_thread.h" |
| 21 #include "content/public/test/test_utils.h" | 21 #include "content/public/test/test_utils.h" |
| 22 #include "ipc/ipc_test_sink.h" | 22 #include "ipc/ipc_test_sink.h" |
| 23 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
| 24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
| 25 | 25 |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 AutofillMetrics::AUTOCHECKOUT_BUY_FLOW_SUCCESS)).Times(1); | 823 AutofillMetrics::AUTOCHECKOUT_BUY_FLOW_SUCCESS)).Times(1); |
| 824 autocheckout_manager_->MaybeShowAutocheckoutDialog(frame_url, | 824 autocheckout_manager_->MaybeShowAutocheckoutDialog(frame_url, |
| 825 ssl_status, | 825 ssl_status, |
| 826 true); | 826 true); |
| 827 CheckFillFormsAndClickIpc(); | 827 CheckFillFormsAndClickIpc(); |
| 828 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow()); | 828 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow()); |
| 829 EXPECT_TRUE(autofill_manager_delegate_->request_autocomplete_dialog_open()); | 829 EXPECT_TRUE(autofill_manager_delegate_->request_autocomplete_dialog_open()); |
| 830 } | 830 } |
| 831 | 831 |
| 832 } // namespace autofill | 832 } // namespace autofill |
| OLD | NEW |