| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "components/autofill/core/browser/test_autofill_external_delegate.h" | 31 #include "components/autofill/core/browser/test_autofill_external_delegate.h" |
| 32 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 32 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 33 #include "components/autofill/core/common/autofill_pref_names.h" | 33 #include "components/autofill/core/common/autofill_pref_names.h" |
| 34 #include "components/autofill/core/common/autofill_switches.h" | 34 #include "components/autofill/core/common/autofill_switches.h" |
| 35 #include "components/autofill/core/common/form_data.h" | 35 #include "components/autofill/core/common/form_data.h" |
| 36 #include "components/autofill/core/common/form_field_data.h" | 36 #include "components/autofill/core/common/form_field_data.h" |
| 37 #include "grit/components_strings.h" | 37 #include "grit/components_strings.h" |
| 38 #include "testing/gmock/include/gmock/gmock.h" | 38 #include "testing/gmock/include/gmock/gmock.h" |
| 39 #include "testing/gtest/include/gtest/gtest.h" | 39 #include "testing/gtest/include/gtest/gtest.h" |
| 40 #include "ui/base/l10n/l10n_util.h" | 40 #include "ui/base/l10n/l10n_util.h" |
| 41 #include "ui/gfx/rect.h" | 41 #include "ui/gfx/geometry/rect.h" |
| 42 #include "url/gurl.h" | 42 #include "url/gurl.h" |
| 43 | 43 |
| 44 using base::ASCIIToUTF16; | 44 using base::ASCIIToUTF16; |
| 45 using base::UTF8ToUTF16; | 45 using base::UTF8ToUTF16; |
| 46 using testing::_; | 46 using testing::_; |
| 47 | 47 |
| 48 namespace autofill { | 48 namespace autofill { |
| 49 | 49 |
| 50 namespace { | 50 namespace { |
| 51 | 51 |
| (...skipping 2874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2926 // results. This triggers the combined message send. | 2926 // results. This triggers the combined message send. |
| 2927 AutocompleteSuggestionsReturned(std::vector<base::string16>()); | 2927 AutocompleteSuggestionsReturned(std::vector<base::string16>()); |
| 2928 | 2928 |
| 2929 external_delegate_->CheckSuggestions( | 2929 external_delegate_->CheckSuggestions( |
| 2930 kDefaultPageID, | 2930 kDefaultPageID, |
| 2931 Suggestion("Visa - 3456", "04/12", kVisaCard, | 2931 Suggestion("Visa - 3456", "04/12", kVisaCard, |
| 2932 autofill_manager_->GetPackedCreditCardID(4))); | 2932 autofill_manager_->GetPackedCreditCardID(4))); |
| 2933 } | 2933 } |
| 2934 | 2934 |
| 2935 } // namespace autofill | 2935 } // namespace autofill |
| OLD | NEW |