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

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

Issue 1419103009: [Sync] Componentize ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@max_bogue_sync_backend_host
Patch Set: Rebase Created 5 years, 1 month 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
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 "chrome/browser/sync/test/integration/autofill_helper.h" 5 #include "chrome/browser/sync/test/integration/autofill_helper.h"
6 6
7 #include "base/guid.h" 7 #include "base/guid.h"
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync/profile_sync_service.h"
12 #include "chrome/browser/sync/profile_sync_test_util.h" 11 #include "chrome/browser/sync/profile_sync_test_util.h"
13 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h" 12 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h"
14 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 13 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
15 #include "chrome/browser/sync/test/integration/sync_test.h" 14 #include "chrome/browser/sync/test/integration/sync_test.h"
16 #include "chrome/browser/web_data_service_factory.h" 15 #include "chrome/browser/web_data_service_factory.h"
17 #include "components/autofill/core/browser/autofill_profile.h" 16 #include "components/autofill/core/browser/autofill_profile.h"
18 #include "components/autofill/core/browser/autofill_test_utils.h" 17 #include "components/autofill/core/browser/autofill_test_utils.h"
19 #include "components/autofill/core/browser/autofill_type.h" 18 #include "components/autofill/core/browser/autofill_type.h"
20 #include "components/autofill/core/browser/personal_data_manager.h" 19 #include "components/autofill/core/browser/personal_data_manager.h"
21 #include "components/autofill/core/browser/personal_data_manager_observer.h" 20 #include "components/autofill/core/browser/personal_data_manager_observer.h"
22 #include "components/autofill/core/browser/webdata/autofill_entry.h" 21 #include "components/autofill/core/browser/webdata/autofill_entry.h"
23 #include "components/autofill/core/browser/webdata/autofill_table.h" 22 #include "components/autofill/core/browser/webdata/autofill_table.h"
24 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 23 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
25 #include "components/autofill/core/common/form_field_data.h" 24 #include "components/autofill/core/common/form_field_data.h"
25 #include "components/browser_sync/browser/profile_sync_service.h"
26 #include "components/webdata/common/web_database.h" 26 #include "components/webdata/common/web_database.h"
27 27
28 using autofill::AutofillChangeList; 28 using autofill::AutofillChangeList;
29 using autofill::AutofillEntry; 29 using autofill::AutofillEntry;
30 using autofill::AutofillKey; 30 using autofill::AutofillKey;
31 using autofill::AutofillProfile; 31 using autofill::AutofillProfile;
32 using autofill::AutofillTable; 32 using autofill::AutofillTable;
33 using autofill::AutofillType; 33 using autofill::AutofillType;
34 using autofill::AutofillWebDataService; 34 using autofill::AutofillWebDataService;
35 using autofill::AutofillWebDataServiceObserverOnDBThread; 35 using autofill::AutofillWebDataServiceObserverOnDBThread;
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 501
502 } // namespace 502 } // namespace
503 503
504 bool AwaitProfilesMatch(int a, int b) { 504 bool AwaitProfilesMatch(int a, int b) {
505 ProfilesMatchStatusChecker checker(a, b); 505 ProfilesMatchStatusChecker checker(a, b);
506 checker.Wait(); 506 checker.Wait();
507 return !checker.TimedOut(); 507 return !checker.TimedOut();
508 } 508 }
509 509
510 } // namespace autofill_helper 510 } // namespace autofill_helper
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698