OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/tuple.h" | 6 #include "base/tuple.h" |
6 #include "base/utf_string_conversions.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/autocheckout_manager.h" | 9 #include "components/autofill/browser/autocheckout_manager.h" |
10 #include "components/autofill/browser/autofill_common_test.h" | 10 #include "components/autofill/browser/autofill_common_test.h" |
11 #include "components/autofill/browser/autofill_manager.h" | 11 #include "components/autofill/browser/autofill_manager.h" |
12 #include "components/autofill/browser/autofill_metrics.h" | 12 #include "components/autofill/browser/autofill_metrics.h" |
13 #include "components/autofill/browser/form_structure.h" | 13 #include "components/autofill/browser/form_structure.h" |
14 #include "components/autofill/browser/test_autofill_manager_delegate.h" | 14 #include "components/autofill/browser/test_autofill_manager_delegate.h" |
15 #include "components/autofill/common/autofill_messages.h" | 15 #include "components/autofill/common/autofill_messages.h" |
16 #include "components/autofill/common/form_data.h" | 16 #include "components/autofill/common/form_data.h" |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 AutofillMetrics::AUTOCHECKOUT_BUY_FLOW_SUCCESS)).Times(1); | 682 AutofillMetrics::AUTOCHECKOUT_BUY_FLOW_SUCCESS)).Times(1); |
683 autocheckout_manager_->MaybeShowAutocheckoutDialog(frame_url, | 683 autocheckout_manager_->MaybeShowAutocheckoutDialog(frame_url, |
684 ssl_status, | 684 ssl_status, |
685 true); | 685 true); |
686 CheckFillFormsAndClickIpc(); | 686 CheckFillFormsAndClickIpc(); |
687 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow()); | 687 EXPECT_FALSE(autocheckout_manager_->in_autocheckout_flow()); |
688 EXPECT_TRUE(autofill_manager_delegate_->request_autocomplete_dialog_open()); | 688 EXPECT_TRUE(autofill_manager_delegate_->request_autocomplete_dialog_open()); |
689 } | 689 } |
690 | 690 |
691 } // namespace autofill | 691 } // namespace autofill |
OLD | NEW |