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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "chrome/browser/sync/test/integration/sync_test.h" | 9 #include "chrome/browser/sync/test/integration/sync_test.h" |
11 #include "sync/api/string_ordinal.h" | 10 #include "sync/api/string_ordinal.h" |
12 | 11 |
13 class Profile; | 12 class Profile; |
14 | 13 |
15 namespace apps_helper { | 14 namespace apps_helper { |
16 | 15 |
17 // Returns true iff the profile with index |index| has the same apps (hosted, | 16 // Returns true iff the profile with index |index| has the same apps (hosted, |
18 // legacy packaged and platform) as the verifier. | 17 // legacy packaged and platform) as the verifier. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 // Waits until all profiles have the same set of apps. In case verifier profile | 86 // Waits until all profiles have the same set of apps. In case verifier profile |
88 // is enabled, it waits until all profiles match the verifier. | 87 // is enabled, it waits until all profiles match the verifier. |
89 // | 88 // |
90 // Returns false on time out. | 89 // Returns false on time out. |
91 bool AwaitAllProfilesHaveSameApps(); | 90 bool AwaitAllProfilesHaveSameApps(); |
92 | 91 |
93 } // namespace apps_helper | 92 } // namespace apps_helper |
94 | 93 |
95 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 94 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
OLD | NEW |