| 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_EXTENSIONS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/sync/test/integration/sync_test.h" | 12 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 14 | 13 |
| 15 class Profile; | 14 class Profile; |
| 16 | 15 |
| 17 namespace extensions_helper { | 16 namespace extensions_helper { |
| 18 | 17 |
| 19 // Returns true iff profiles with indices |index1| and |index2| have the same | 18 // Returns true iff profiles with indices |index1| and |index2| have the same |
| 20 // extensions. | 19 // extensions. |
| 21 bool HasSameExtensions(int index1, int index2) WARN_UNUSED_RESULT; | 20 bool HasSameExtensions(int index1, int index2) WARN_UNUSED_RESULT; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // mode on |profile|. | 68 // mode on |profile|. |
| 70 bool IsIncognitoEnabled(Profile* profile, int index); | 69 bool IsIncognitoEnabled(Profile* profile, int index); |
| 71 | 70 |
| 72 // Runs the message loop until all profiles have same extensions. Returns false | 71 // Runs the message loop until all profiles have same extensions. Returns false |
| 73 // on timeout. | 72 // on timeout. |
| 74 bool AwaitAllProfilesHaveSameExtensions(); | 73 bool AwaitAllProfilesHaveSameExtensions(); |
| 75 | 74 |
| 76 } // namespace extensions_helper | 75 } // namespace extensions_helper |
| 77 | 76 |
| 78 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ | 77 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
| OLD | NEW |