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_SYNC_UI_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "build/build_config.h" |
9 | 10 |
10 class Profile; | 11 class Profile; |
11 class ProfileSyncService; | 12 class ProfileSyncService; |
12 class SigninManagerBase; | 13 class SigninManagerBase; |
13 | 14 |
14 // Utility functions to gather current sync status information from the sync | 15 // Utility functions to gather current sync status information from the sync |
15 // service and constructs messages suitable for showing in UI. | 16 // service and constructs messages suitable for showing in UI. |
16 namespace sync_ui_util { | 17 namespace sync_ui_util { |
17 | 18 |
18 enum MessageType { | 19 enum MessageType { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 base::string16* bubble_message, | 59 base::string16* bubble_message, |
59 base::string16* bubble_accept_label); | 60 base::string16* bubble_accept_label); |
60 #endif | 61 #endif |
61 | 62 |
62 MessageType GetStatus(Profile* profile, | 63 MessageType GetStatus(Profile* profile, |
63 ProfileSyncService* service, | 64 ProfileSyncService* service, |
64 const SigninManagerBase& signin); | 65 const SigninManagerBase& signin); |
65 | 66 |
66 } // namespace sync_ui_util | 67 } // namespace sync_ui_util |
67 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ | 68 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
OLD | NEW |