Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: chrome/browser/sync/sync_ui_util.h

Issue 11817045: Move auth-error reporting code out of SyncGlobalError and into SigninGlobalError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled ExtensionActionContextMenuTest.BrowserAction Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/sync_global_error_unittest.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/string16.h" 8 #include "base/string16.h"
9 9
10 class ProfileSyncService; 10 class ProfileSyncService;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // |menu_item_label|, |bubble_message|, and |bubble_accept_label| must not be 50 // |menu_item_label|, |bubble_message|, and |bubble_accept_label| must not be
51 // NULL. 51 // NULL.
52 void GetStatusLabelsForSyncGlobalError(ProfileSyncService* service, 52 void GetStatusLabelsForSyncGlobalError(ProfileSyncService* service,
53 const SigninManager& signin, 53 const SigninManager& signin,
54 string16* menu_item_label, 54 string16* menu_item_label,
55 string16* bubble_message, 55 string16* bubble_message,
56 string16* bubble_accept_label); 56 string16* bubble_accept_label);
57 57
58 MessageType GetStatus(ProfileSyncService* service, const SigninManager& signin); 58 MessageType GetStatus(ProfileSyncService* service, const SigninManager& signin);
59 59
60 // Returns a string with the synchronization status.
61 string16 GetSyncMenuLabel(ProfileSyncService* service,
62 const SigninManager& signin);
63
64 } // namespace sync_ui_util 60 } // namespace sync_ui_util
65 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ 61 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_global_error_unittest.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698