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

Side by Side Diff: chrome/test/live_sync/two_client_autofill_sync_test.cc

Issue 7541065: autofill: Refactor PersonalDataManager::Observer into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/test/live_sync/performance/autofill_sync_perf_test.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/utf_string_conversions.h"
6 #include "chrome/browser/autofill/autofill_profile.h"
6 #include "chrome/browser/sync/profile_sync_service_harness.h" 7 #include "chrome/browser/sync/profile_sync_service_harness.h"
7 #include "chrome/browser/webdata/autofill_entry.h" 8 #include "chrome/browser/webdata/autofill_entry.h"
8 #include "chrome/test/live_sync/autofill_helper.h" 9 #include "chrome/test/live_sync/autofill_helper.h"
9 #include "chrome/test/live_sync/live_sync_test.h" 10 #include "chrome/test/live_sync/live_sync_test.h"
10 11
11 // Autofill entry length is limited to 1024. See http://crbug.com/49332. 12 // Autofill entry length is limited to 1024. See http://crbug.com/49332.
12 const size_t kMaxDataLength = 1024; 13 const size_t kMaxDataLength = 1024;
13 14
14 class TwoClientAutofillSyncTest : public LiveSyncTest { 15 class TwoClientAutofillSyncTest : public LiveSyncTest {
15 public: 16 public:
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 exceeds_max_length_string); 429 exceeds_max_length_string);
429 AutofillHelper::UpdateProfile( 430 AutofillHelper::UpdateProfile(
430 0, 431 0,
431 AutofillHelper::GetAllProfiles(0)[0]->guid(), 432 AutofillHelper::GetAllProfiles(0)[0]->guid(),
432 AutofillType(ADDRESS_HOME_LINE1), 433 AutofillType(ADDRESS_HOME_LINE1),
433 exceeds_max_length_string); 434 exceeds_max_length_string);
434 435
435 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1))); 436 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
436 ASSERT_FALSE(AutofillHelper::ProfilesMatch(0, 1)); 437 ASSERT_FALSE(AutofillHelper::ProfilesMatch(0, 1));
437 } 438 }
OLDNEW
« no previous file with comments | « chrome/test/live_sync/performance/autofill_sync_perf_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698