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/typed_urls_helper.h" | 5 #include "chrome/browser/sync/test/integration/typed_urls_helper.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
8 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
9 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
10 #include "base/task/cancelable_task_tracker.h" | 12 #include "base/task/cancelable_task_tracker.h" |
11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
12 #include "chrome/browser/history/history_service_factory.h" | 14 #include "chrome/browser/history/history_service_factory.h" |
13 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" | 16 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" |
15 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 17 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
16 #include "chrome/browser/sync/test/integration/sync_test.h" | 18 #include "chrome/browser/sync/test/integration/sync_test.h" |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 | 445 |
444 } // namespace | 446 } // namespace |
445 | 447 |
446 bool AwaitCheckAllProfilesHaveSameURLs() { | 448 bool AwaitCheckAllProfilesHaveSameURLs() { |
447 ProfilesHaveSameURLsChecker checker; | 449 ProfilesHaveSameURLsChecker checker; |
448 checker.Wait(); | 450 checker.Wait(); |
449 return !checker.TimedOut(); | 451 return !checker.TimedOut(); |
450 } | 452 } |
451 | 453 |
452 } // namespace typed_urls_helper | 454 } // namespace typed_urls_helper |
OLD | NEW |