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

Side by Side Diff: chrome/browser/autofill/personal_data_manager_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « chrome/browser/autofill/name_field_unittest.cc ('k') | chrome/browser/autofill/phone_field.cc » ('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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/autofill/autofill_common_unittest.h" 10 #include "chrome/browser/autofill/autofill_common_unittest.h"
10 #include "chrome/browser/autofill/autofill_profile.h" 11 #include "chrome/browser/autofill/autofill_profile.h"
11 #include "chrome/browser/autofill/form_structure.h" 12 #include "chrome/browser/autofill/form_structure.h"
12 #include "chrome/browser/autofill/personal_data_manager.h" 13 #include "chrome/browser/autofill/personal_data_manager.h"
13 #include "chrome/browser/chrome_thread.h" 14 #include "chrome/browser/chrome_thread.h"
14 #include "chrome/browser/pref_service.h" 15 #include "chrome/browser/pref_service.h"
15 #include "chrome/browser/password_manager/encryptor.h" 16 #include "chrome/browser/password_manager/encryptor.h"
16 #include "chrome/common/notification_details.h" 17 #include "chrome/common/notification_details.h"
17 #include "chrome/common/notification_observer_mock.h" 18 #include "chrome/common/notification_observer_mock.h"
18 #include "chrome/common/notification_registrar.h" 19 #include "chrome/common/notification_registrar.h"
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 "Washington", "theprez@gmail.com", NULL, "190 High Street", NULL, 787 "Washington", "theprez@gmail.com", NULL, "190 High Street", NULL,
787 "Philadelphia", "Pennsylvania", "19106", NULL, NULL, NULL); 788 "Philadelphia", "Pennsylvania", "19106", NULL, NULL, NULL);
788 EXPECT_EQ(*expected, *results3[0]); 789 EXPECT_EQ(*expected, *results3[0]);
789 790
790 expected.reset(new AutoFillProfile(ASCIIToUTF16("Unlabeled2"), 2)); 791 expected.reset(new AutoFillProfile(ASCIIToUTF16("Unlabeled2"), 2));
791 autofill_unittest::SetProfileInfo(expected.get(), "Unlabeled2", "John", NULL, 792 autofill_unittest::SetProfileInfo(expected.get(), "Unlabeled2", "John", NULL,
792 "Adams", "second@gmail.com", NULL, NULL, NULL, NULL, NULL, NULL, NULL, 793 "Adams", "second@gmail.com", NULL, NULL, NULL, NULL, NULL, NULL, NULL,
793 NULL, NULL); 794 NULL, NULL);
794 EXPECT_EQ(*expected, *results3[1]); 795 EXPECT_EQ(*expected, *results3[1]);
795 } 796 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/name_field_unittest.cc ('k') | chrome/browser/autofill/phone_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698