OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_LIVE_SYNC_THEMES_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_THEMES_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "chrome/browser/sync/test/live_sync/live_sync_test.h" | 13 #include "chrome/browser/sync/test/integration/sync_test.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace themes_helper { | 17 namespace themes_helper { |
18 | 18 |
19 // Gets the unique ID of the custom theme with the given index. | 19 // Gets the unique ID of the custom theme with the given index. |
20 std::string GetCustomTheme(int index) WARN_UNUSED_RESULT; | 20 std::string GetCustomTheme(int index) WARN_UNUSED_RESULT; |
21 | 21 |
22 // Gets the ID of |profile|'s theme. | 22 // Gets the ID of |profile|'s theme. |
23 std::string GetThemeID(Profile* profile) WARN_UNUSED_RESULT; | 23 std::string GetThemeID(Profile* profile) WARN_UNUSED_RESULT; |
(...skipping 21 matching lines...) Expand all Loading... |
45 void UseCustomTheme(Profile* profile, int index); | 45 void UseCustomTheme(Profile* profile, int index); |
46 | 46 |
47 // Sets |profile| to use the default theme. | 47 // Sets |profile| to use the default theme. |
48 void UseDefaultTheme(Profile* profile); | 48 void UseDefaultTheme(Profile* profile); |
49 | 49 |
50 // Sets |profile| to use the native theme. | 50 // Sets |profile| to use the native theme. |
51 void UseNativeTheme(Profile* profile); | 51 void UseNativeTheme(Profile* profile); |
52 | 52 |
53 } // namespace themes_helper | 53 } // namespace themes_helper |
54 | 54 |
55 #endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_THEMES_HELPER_H_ | 55 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_THEMES_HELPER_H_ |
OLD | NEW |