| OLD | NEW |
| 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 <stddef.h> |
| 8 |
| 7 #include "base/guid.h" | 9 #include "base/guid.h" |
| 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 10 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/sync/profile_sync_test_util.h" | 13 #include "chrome/browser/sync/profile_sync_test_util.h" |
| 12 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" | 14 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" |
| 13 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 15 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
| 14 #include "chrome/browser/sync/test/integration/sync_test.h" | 16 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 15 #include "chrome/browser/web_data_service_factory.h" | 17 #include "chrome/browser/web_data_service_factory.h" |
| 16 #include "components/autofill/core/browser/autofill_profile.h" | 18 #include "components/autofill/core/browser/autofill_profile.h" |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 503 |
| 502 } // namespace | 504 } // namespace |
| 503 | 505 |
| 504 bool AwaitProfilesMatch(int a, int b) { | 506 bool AwaitProfilesMatch(int a, int b) { |
| 505 ProfilesMatchStatusChecker checker(a, b); | 507 ProfilesMatchStatusChecker checker(a, b); |
| 506 checker.Wait(); | 508 checker.Wait(); |
| 507 return !checker.TimedOut(); | 509 return !checker.TimedOut(); |
| 508 } | 510 } |
| 509 | 511 |
| 510 } // namespace autofill_helper | 512 } // namespace autofill_helper |
| OLD | NEW |