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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/guid.h" | 9 #include "base/guid.h" |
10 #include "base/path_service.h" | |
11 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
15 #include "components/autofill/core/browser/autofill_profile.h" | 14 #include "components/autofill/core/browser/autofill_profile.h" |
16 #include "components/autofill/core/browser/autofill_type.h" | 15 #include "components/autofill/core/browser/autofill_type.h" |
17 #include "components/autofill/core/browser/credit_card.h" | 16 #include "components/autofill/core/browser/credit_card.h" |
18 #include "components/autofill/core/browser/webdata/autofill_change.h" | 17 #include "components/autofill/core/browser/webdata/autofill_change.h" |
19 #include "components/autofill/core/browser/webdata/autofill_entry.h" | 18 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
20 #include "components/autofill/core/browser/webdata/autofill_table.h" | 19 #include "components/autofill/core/browser/webdata/autofill_table.h" |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 | 1598 |
1600 std::vector<AutofillEntry> entries; | 1599 std::vector<AutofillEntry> entries; |
1601 ASSERT_TRUE(table_->GetAllAutofillEntries(&entries)); | 1600 ASSERT_TRUE(table_->GetAllAutofillEntries(&entries)); |
1602 AutofillEntrySet entry_set(entries.begin(), entries.end(), | 1601 AutofillEntrySet entry_set(entries.begin(), entries.end(), |
1603 CompareAutofillEntries); | 1602 CompareAutofillEntries); |
1604 | 1603 |
1605 CompareAutofillEntrySets(entry_set, expected_entries); | 1604 CompareAutofillEntrySets(entry_set, expected_entries); |
1606 } | 1605 } |
1607 | 1606 |
1608 } // namespace autofill | 1607 } // namespace autofill |
OLD | NEW |