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

Side by Side Diff: chrome/browser/webdata/web_database_unittest.cc

Issue 5849001: Move GUID utils to src/chrome/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome/common Created 10 years 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 | « chrome/browser/webdata/web_database.cc ('k') | chrome/chrome_browser.gypi » ('j') | 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) 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 "app/sql/statement.h" 12 #include "app/sql/statement.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/scoped_temp_dir.h" 15 #include "base/scoped_temp_dir.h"
16 #include "base/stl_util-inl.h" 16 #include "base/stl_util-inl.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/string16.h" 18 #include "base/string16.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/browser/autofill/autofill_profile.h" 22 #include "chrome/browser/autofill/autofill_profile.h"
23 #include "chrome/browser/autofill/autofill_type.h" 23 #include "chrome/browser/autofill/autofill_type.h"
24 #include "chrome/browser/autofill/credit_card.h" 24 #include "chrome/browser/autofill/credit_card.h"
25 #include "chrome/browser/guid.h"
26 #include "chrome/browser/search_engines/template_url.h" 25 #include "chrome/browser/search_engines/template_url.h"
27 #include "chrome/browser/password_manager/encryptor.h" 26 #include "chrome/browser/password_manager/encryptor.h"
28 #include "chrome/browser/webdata/autofill_change.h" 27 #include "chrome/browser/webdata/autofill_change.h"
29 #include "chrome/browser/webdata/autofill_entry.h" 28 #include "chrome/browser/webdata/autofill_entry.h"
30 #include "chrome/browser/webdata/web_database.h" 29 #include "chrome/browser/webdata/web_database.h"
31 #include "chrome/common/chrome_paths.h" 30 #include "chrome/common/chrome_paths.h"
31 #include "chrome/common/guid.h"
32 #include "chrome/test/ui_test_utils.h" 32 #include "chrome/test/ui_test_utils.h"
33 #include "third_party/skia/include/core/SkBitmap.h" 33 #include "third_party/skia/include/core/SkBitmap.h"
34 #include "testing/gtest/include/gtest/gtest.h" 34 #include "testing/gtest/include/gtest/gtest.h"
35 #include "webkit/glue/form_field.h" 35 #include "webkit/glue/form_field.h"
36 #include "webkit/glue/password_form.h" 36 #include "webkit/glue/password_form.h"
37 37
38 using base::Time; 38 using base::Time;
39 using base::TimeDelta; 39 using base::TimeDelta;
40 using webkit_glue::FormField; 40 using webkit_glue::FormField;
41 using webkit_glue::PasswordForm; 41 using webkit_glue::PasswordForm;
(...skipping 2791 matching lines...) Expand 10 before | Expand all | Expand 10 after
2833 &credit_card_a, 2833 &credit_card_a,
2834 &cc_label_a, 2834 &cc_label_a,
2835 &cc_number_encrypted_a, 2835 &cc_number_encrypted_a,
2836 &cc_date_modified_a)); 2836 &cc_date_modified_a));
2837 EXPECT_EQ(credit_card, credit_card_a); 2837 EXPECT_EQ(credit_card, credit_card_a);
2838 EXPECT_EQ(cc_label, cc_label_a); 2838 EXPECT_EQ(cc_label, cc_label_a);
2839 EXPECT_EQ(cc_number_encrypted, cc_number_encrypted_a); 2839 EXPECT_EQ(cc_number_encrypted, cc_number_encrypted_a);
2840 EXPECT_EQ(cc_date_modified, cc_date_modified_a); 2840 EXPECT_EQ(cc_date_modified, cc_date_modified_a);
2841 } 2841 }
2842 } 2842 }
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_database.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698