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

Side by Side Diff: chrome/test/live_sync/two_client_live_autofill_sync_test.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/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/startup/startup_test.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/utf_string_conversions.h"
5 #include "chrome/test/live_sync/live_autofill_sync_test.h" 6 #include "chrome/test/live_sync/live_autofill_sync_test.h"
6 7
7 IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, Client1HasData) { 8 IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, Client1HasData) {
8 ASSERT_TRUE(SetupClients()) << "SetupClients() failed."; 9 ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
9 10
10 AutofillKeys keys; 11 AutofillKeys keys;
11 keys.insert(AutofillKey("name0", "value0")); 12 keys.insert(AutofillKey("name0", "value0"));
12 keys.insert(AutofillKey("name0", "value1")); 13 keys.insert(AutofillKey("name0", "value1"));
13 keys.insert(AutofillKey("name1", "value2")); 14 keys.insert(AutofillKey("name1", "value2"));
14 keys.insert(AutofillKey(WideToUTF16(L"Sigur R\u00F3s"), 15 keys.insert(AutofillKey(WideToUTF16(L"Sigur R\u00F3s"),
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 STLDeleteElements(&expected_profiles); 277 STLDeleteElements(&expected_profiles);
277 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing")); 278 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing"));
278 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing2")); 279 RemoveProfile(GetPersonalDataManager(1), ASCIIToUTF16("Billing2"));
279 EXPECT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0))); 280 EXPECT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0)));
280 281
281 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles, 282 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
282 GetAllAutoFillProfiles(GetPersonalDataManager(0)))); 283 GetAllAutoFillProfiles(GetPersonalDataManager(0))));
283 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles, 284 EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
284 GetAllAutoFillProfiles(GetPersonalDataManager(1)))); 285 GetAllAutoFillProfiles(GetPersonalDataManager(1))));
285 } 286 }
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/startup/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698