| 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/apps_helper.h" | 5 #include "chrome/browser/sync/test/integration/apps_helper.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/sync/test/integration/status_change_checker.h" | 12 #include "chrome/browser/sync/test/integration/status_change_checker.h" |
| 12 #include "chrome/browser/sync/test/integration/sync_app_helper.h" | 13 #include "chrome/browser/sync/test/integration/sync_app_helper.h" |
| 13 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 14 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
| 14 #include "chrome/browser/sync/test/integration/sync_extension_helper.h" | 15 #include "chrome/browser/sync/test/integration/sync_extension_helper.h" |
| 15 #include "chrome/browser/sync/test/integration/sync_extension_installer.h" | 16 #include "chrome/browser/sync/test/integration/sync_extension_installer.h" |
| 16 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
| 17 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 for (int i = 0; i < test()->num_clients(); ++i) { | 340 for (int i = 0; i < test()->num_clients(); ++i) { |
| 340 profiles.push_back(test()->GetProfile(i)); | 341 profiles.push_back(test()->GetProfile(i)); |
| 341 } | 342 } |
| 342 | 343 |
| 343 AppsMatchChecker checker(profiles); | 344 AppsMatchChecker checker(profiles); |
| 344 checker.Wait(); | 345 checker.Wait(); |
| 345 return !checker.TimedOut(); | 346 return !checker.TimedOut(); |
| 346 } | 347 } |
| 347 | 348 |
| 348 } // namespace apps_helper | 349 } // namespace apps_helper |
| OLD | NEW |