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

Side by Side Diff: chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android build Created 7 years, 6 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
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 "base/strings/stringprintf.h" 5 #include "base/strings/stringprintf.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "chrome/browser/sync/profile_sync_service_harness.h" 7 #include "chrome/browser/sync/profile_sync_service_harness.h"
8 #include "chrome/browser/sync/test/integration/autofill_helper.h" 8 #include "chrome/browser/sync/test/integration/autofill_helper.h"
9 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" 9 #include "chrome/browser/sync/test/integration/bookmarks_helper.h"
10 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h" 10 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
11 #include "chrome/browser/sync/test/integration/sync_test.h" 11 #include "chrome/browser/sync/test/integration/sync_test.h"
12 #include "components/autofill/browser/autofill_common_test.h" 12 #include "components/autofill/core/browser/autofill_common_test.h"
13 #include "components/autofill/browser/autofill_profile.h" 13 #include "components/autofill/core/browser/autofill_profile.h"
14 #include "components/autofill/browser/webdata/autofill_entry.h" 14 #include "components/autofill/core/browser/webdata/autofill_entry.h"
15 15
16 using autofill::AutofillFieldType; 16 using autofill::AutofillFieldType;
17 using autofill::AutofillKey; 17 using autofill::AutofillKey;
18 using autofill::AutofillProfile; 18 using autofill::AutofillProfile;
19 19
20 using autofill_helper::AllProfilesMatch; 20 using autofill_helper::AllProfilesMatch;
21 using autofill_helper::GetAllKeys; 21 using autofill_helper::GetAllKeys;
22 using autofill_helper::GetAllProfiles; 22 using autofill_helper::GetAllProfiles;
23 using autofill_helper::GetKeyCount; 23 using autofill_helper::GetKeyCount;
24 using autofill_helper::GetProfileCount; 24 using autofill_helper::GetProfileCount;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ASSERT_EQ(kNumKeys, GetKeyCount(1)); 201 ASSERT_EQ(kNumKeys, GetKeyCount(1));
202 SyncTimingHelper::PrintResult("autofill", "add_autofill_keys", dt); 202 SyncTimingHelper::PrintResult("autofill", "add_autofill_keys", dt);
203 203
204 RemoveKeys(0); 204 RemoveKeys(0);
205 // TODO(lipalani): fix this. The following line is added to force sync. 205 // TODO(lipalani): fix this. The following line is added to force sync.
206 ForceSync(0); 206 ForceSync(0);
207 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 207 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
208 ASSERT_EQ(0, GetKeyCount(1)); 208 ASSERT_EQ(0, GetKeyCount(1));
209 SyncTimingHelper::PrintResult("autofill", "delete_autofill_keys", dt); 209 SyncTimingHelper::PrintResult("autofill", "delete_autofill_keys", dt);
210 } 210 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698