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

Side by Side Diff: chrome/browser/signin/signin_ui_util.h

Issue 15906011: Use a direct include of strings headers in chrome/browser/r*-s*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/signin/signin_names_io_thread.h ('k') | chrome/browser/signin/token_service.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SIGNIN_SIGNIN_UI_UTIL_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_
7 7
8 #include "base/string16.h" 8 #include "base/strings/string16.h"
9 9
10 class GlobalError; 10 class GlobalError;
11 class Profile; 11 class Profile;
12 class SigninManagerBase; 12 class SigninManagerBase;
13 13
14 // Utility functions to gather status information from the various signed in 14 // Utility functions to gather status information from the various signed in
15 // services and construct messages suitable for showing in UI. 15 // services and construct messages suitable for showing in UI.
16 namespace signin_ui_util { 16 namespace signin_ui_util {
17 17
18 // If a signed in service is reporting an error, returns the GlobalError 18 // If a signed in service is reporting an error, returns the GlobalError
19 // object associated with that service, or NULL if no errors are reported. 19 // object associated with that service, or NULL if no errors are reported.
20 GlobalError* GetSignedInServiceError(Profile* profile); 20 GlobalError* GetSignedInServiceError(Profile* profile);
21 21
22 // Return the label that should be displayed in the signin menu (i.e. 22 // Return the label that should be displayed in the signin menu (i.e.
23 // "Sign in to Chromium", "Signin Error...", etc). 23 // "Sign in to Chromium", "Signin Error...", etc).
24 string16 GetSigninMenuLabel(Profile* profile); 24 string16 GetSigninMenuLabel(Profile* profile);
25 25
26 void GetStatusLabelsForAuthError(const SigninManagerBase& signin_manager, 26 void GetStatusLabelsForAuthError(const SigninManagerBase& signin_manager,
27 string16* status_label, 27 string16* status_label,
28 string16* link_label); 28 string16* link_label);
29 29
30 } // namespace signin_ui_util 30 } // namespace signin_ui_util
31 31
32 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_ 32 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_names_io_thread.h ('k') | chrome/browser/signin/token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698