| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <list> | 5 #include <list> | 
| 6 #include <map> | 6 #include <map> | 
| 7 #include <set> | 7 #include <set> | 
| 8 #include <string> | 8 #include <string> | 
| 9 #include <utility> | 9 #include <utility> | 
| 10 #include <vector> | 10 #include <vector> | 
| 11 | 11 | 
| 12 #include "base/file_util.h" | 12 #include "base/file_util.h" | 
| 13 #include "base/path_service.h" | 13 #include "base/path_service.h" | 
| 14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util-inl.h" | 
| 15 #include "base/string_number_conversions.h" | 15 #include "base/string_number_conversions.h" | 
| 16 #include "base/string16.h" | 16 #include "base/string16.h" | 
| 17 #include "base/time.h" | 17 #include "base/time.h" | 
|  | 18 #include "base/utf_string_conversions.h" | 
| 18 #include "base/values.h" | 19 #include "base/values.h" | 
| 19 #include "chrome/browser/autofill/autofill_profile.h" | 20 #include "chrome/browser/autofill/autofill_profile.h" | 
| 20 #include "chrome/browser/autofill/autofill_type.h" | 21 #include "chrome/browser/autofill/autofill_type.h" | 
| 21 #include "chrome/browser/autofill/credit_card.h" | 22 #include "chrome/browser/autofill/credit_card.h" | 
| 22 #include "chrome/browser/search_engines/template_url.h" | 23 #include "chrome/browser/search_engines/template_url.h" | 
| 23 #include "chrome/browser/password_manager/encryptor.h" | 24 #include "chrome/browser/password_manager/encryptor.h" | 
| 24 #include "chrome/browser/webdata/autofill_change.h" | 25 #include "chrome/browser/webdata/autofill_change.h" | 
| 25 #include "chrome/browser/webdata/autofill_entry.h" | 26 #include "chrome/browser/webdata/autofill_entry.h" | 
| 26 #include "chrome/browser/webdata/web_database.h" | 27 #include "chrome/browser/webdata/web_database.h" | 
| 27 #include "chrome/common/chrome_paths.h" | 28 #include "chrome/common/chrome_paths.h" | 
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1382 | 1383 | 
| 1383   // make sure the lists of entries match | 1384   // make sure the lists of entries match | 
| 1384   ASSERT_EQ(expected_entries.size(), entry_set.size()); | 1385   ASSERT_EQ(expected_entries.size(), entry_set.size()); | 
| 1385   AutofillEntrySetIterator it; | 1386   AutofillEntrySetIterator it; | 
| 1386   for (it = entry_set.begin(); it != entry_set.end(); it++) { | 1387   for (it = entry_set.begin(); it != entry_set.end(); it++) { | 
| 1387     expected_entries.erase(*it); | 1388     expected_entries.erase(*it); | 
| 1388   } | 1389   } | 
| 1389 | 1390 | 
| 1390   EXPECT_EQ(0U, expected_entries.size()); | 1391   EXPECT_EQ(0U, expected_entries.size()); | 
| 1391 } | 1392 } | 
| OLD | NEW | 
|---|