| 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_THEMES_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/sync/test/integration/sync_test.h" | 11 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 13 | 12 |
| 14 class Profile; | 13 class Profile; |
| 15 | 14 |
| 16 namespace themes_helper { | 15 namespace themes_helper { |
| 17 | 16 |
| 18 // Gets the unique ID of the custom theme with the given index. | 17 // Gets the unique ID of the custom theme with the given index. |
| 19 std::string GetCustomTheme(int index) WARN_UNUSED_RESULT; | 18 std::string GetCustomTheme(int index) WARN_UNUSED_RESULT; |
| 20 | 19 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Returns false in case of timeout. | 51 // Returns false in case of timeout. |
| 53 bool AwaitUsingSystemTheme(Profile* profile); | 52 bool AwaitUsingSystemTheme(Profile* profile); |
| 54 | 53 |
| 55 // Waits until |profile| is using the default theme. | 54 // Waits until |profile| is using the default theme. |
| 56 // Returns false in case of timeout. | 55 // Returns false in case of timeout. |
| 57 bool AwaitUsingDefaultTheme(Profile* profile); | 56 bool AwaitUsingDefaultTheme(Profile* profile); |
| 58 | 57 |
| 59 } // namespace themes_helper | 58 } // namespace themes_helper |
| 60 | 59 |
| 61 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ | 60 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
| OLD | NEW |