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 "components/autofill/core/browser/autofill_manager.h" | 5 #include "components/autofill/core/browser/autofill_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "components/autofill/core/browser/validation.h" | 43 #include "components/autofill/core/browser/validation.h" |
44 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 44 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
45 #include "components/autofill/core/common/autofill_pref_names.h" | 45 #include "components/autofill/core/common/autofill_pref_names.h" |
46 #include "components/autofill/core/common/autofill_switches.h" | 46 #include "components/autofill/core/common/autofill_switches.h" |
47 #include "components/autofill/core/common/autofill_util.h" | 47 #include "components/autofill/core/common/autofill_util.h" |
48 #include "components/autofill/core/common/form_data.h" | 48 #include "components/autofill/core/common/form_data.h" |
49 #include "components/autofill/core/common/form_field_data.h" | 49 #include "components/autofill/core/common/form_field_data.h" |
50 #include "components/prefs/pref_service.h" | 50 #include "components/prefs/pref_service.h" |
51 #include "components/rappor/test_rappor_service.h" | 51 #include "components/rappor/test_rappor_service.h" |
52 #include "components/security_state/core/security_state.h" | 52 #include "components/security_state/core/security_state.h" |
| 53 #include "components/strings/grit/components_strings.h" |
53 #include "components/variations/variations_associated_data.h" | 54 #include "components/variations/variations_associated_data.h" |
54 #include "grit/components_strings.h" | |
55 #include "net/url_request/url_request_test_util.h" | 55 #include "net/url_request/url_request_test_util.h" |
56 #include "testing/gmock/include/gmock/gmock.h" | 56 #include "testing/gmock/include/gmock/gmock.h" |
57 #include "testing/gtest/include/gtest/gtest.h" | 57 #include "testing/gtest/include/gtest/gtest.h" |
58 #include "ui/base/l10n/l10n_util.h" | 58 #include "ui/base/l10n/l10n_util.h" |
59 #include "ui/gfx/geometry/rect.h" | 59 #include "ui/gfx/geometry/rect.h" |
60 #include "url/gurl.h" | 60 #include "url/gurl.h" |
61 | 61 |
62 using base::ASCIIToUTF16; | 62 using base::ASCIIToUTF16; |
63 using base::UTF8ToUTF16; | 63 using base::UTF8ToUTF16; |
64 using testing::_; | 64 using testing::_; |
(...skipping 5577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5642 | 5642 |
5643 // The driver should always be notified. | 5643 // The driver should always be notified. |
5644 for (const FormFieldData& field : form.fields) { | 5644 for (const FormFieldData& field : form.fields) { |
5645 GetAutofillSuggestions(form, field); | 5645 GetAutofillSuggestions(form, field); |
5646 EXPECT_TRUE(autofill_driver_->did_interact_with_credit_card_form()); | 5646 EXPECT_TRUE(autofill_driver_->did_interact_with_credit_card_form()); |
5647 autofill_driver_->ClearDidInteractWithCreditCardForm(); | 5647 autofill_driver_->ClearDidInteractWithCreditCardForm(); |
5648 } | 5648 } |
5649 } | 5649 } |
5650 | 5650 |
5651 } // namespace autofill | 5651 } // namespace autofill |
OLD | NEW |