Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: components/autofill/browser/webdata/autofill_table_unittest.cc

Issue 14096009: [Autofill] Split off AutofillDataModel as a subclass of FormData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android compile Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/autofill/browser/webdata/autofill_change.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/autofill/browser/webdata/autofill_change.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698