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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/sync/test/integration/sync_test.h" | 9 #include "chrome/browser/sync/test/integration/sync_test.h" |
10 #include "sync/api/string_ordinal.h" | 10 #include "components/sync/api/string_ordinal.h" |
11 | 11 |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 namespace apps_helper { | 14 namespace apps_helper { |
15 | 15 |
16 // Returns true iff |profile1| has same apps (hosted, legacy packaged and | 16 // Returns true iff |profile1| has same apps (hosted, legacy packaged and |
17 // platform) as |profile2|. | 17 // platform) as |profile2|. |
18 bool HasSameApps(Profile* profile1, Profile* profile2); | 18 bool HasSameApps(Profile* profile1, Profile* profile2); |
19 | 19 |
20 // Returns true iff all existing profiles have the same apps (hosted, | 20 // Returns true iff all existing profiles have the same apps (hosted, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 // Waits until all profiles have the same set of apps. In case verifier profile | 93 // Waits until all profiles have the same set of apps. In case verifier profile |
94 // is enabled, it waits until all profiles match the verifier. | 94 // is enabled, it waits until all profiles match the verifier. |
95 // | 95 // |
96 // Returns false on time out. | 96 // Returns false on time out. |
97 bool AwaitAllProfilesHaveSameApps(); | 97 bool AwaitAllProfilesHaveSameApps(); |
98 | 98 |
99 } // namespace apps_helper | 99 } // namespace apps_helper |
100 | 100 |
101 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ | 101 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ |
OLD | NEW |