OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/file_util.h" | 7 #include "base/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" | 10 #include "base/path_service.h" |
| 11 #include "base/string_util.h" |
11 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
12 #include "base/time.h" | 13 #include "base/time.h" |
13 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
14 #include "components/autofill/browser/autofill_profile.h" | 15 #include "components/autofill/browser/autofill_profile.h" |
15 #include "components/autofill/browser/autofill_type.h" | 16 #include "components/autofill/browser/autofill_type.h" |
16 #include "components/autofill/browser/credit_card.h" | 17 #include "components/autofill/browser/credit_card.h" |
17 #include "components/autofill/browser/webdata/autofill_change.h" | 18 #include "components/autofill/browser/webdata/autofill_change.h" |
18 #include "components/autofill/browser/webdata/autofill_entry.h" | 19 #include "components/autofill/browser/webdata/autofill_entry.h" |
19 #include "components/autofill/browser/webdata/autofill_table.h" | 20 #include "components/autofill/browser/webdata/autofill_table.h" |
20 #include "components/autofill/common/form_field_data.h" | 21 #include "components/autofill/common/form_field_data.h" |
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 ASSERT_EQ(expected_entries.size(), entry_set.size()); | 1324 ASSERT_EQ(expected_entries.size(), entry_set.size()); |
1324 AutofillEntrySetIterator it; | 1325 AutofillEntrySetIterator it; |
1325 for (it = entry_set.begin(); it != entry_set.end(); it++) { | 1326 for (it = entry_set.begin(); it != entry_set.end(); it++) { |
1326 expected_entries.erase(*it); | 1327 expected_entries.erase(*it); |
1327 } | 1328 } |
1328 | 1329 |
1329 EXPECT_EQ(0U, expected_entries.size()); | 1330 EXPECT_EQ(0U, expected_entries.size()); |
1330 } | 1331 } |
1331 | 1332 |
1332 } // namespace autofill | 1333 } // namespace autofill |
OLD | NEW |