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

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

Issue 471333003: Make sure avatar menu does not use account_id for display purposes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add description to fake Created 6 years, 3 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 24 matching lines...) Expand all
35 const SigninManagerBase& signin_manager, 35 const SigninManagerBase& signin_manager,
36 base::string16* status_label, 36 base::string16* status_label,
37 base::string16* link_label); 37 base::string16* link_label);
38 38
39 // Initializes signin-related preferences. 39 // Initializes signin-related preferences.
40 void InitializePrefsForProfile(Profile* profile); 40 void InitializePrefsForProfile(Profile* profile);
41 41
42 // Shows a learn more page for signin errors. 42 // Shows a learn more page for signin errors.
43 void ShowSigninErrorLearnMorePage(Profile* profile); 43 void ShowSigninErrorLearnMorePage(Profile* profile);
44 44
45 // Returns the display email string for the given account. If the profile
46 // has not been migrated to use gaia ids, then its possible for the display
47 // to not ne known yet. In this case, use |account_id|, which is assumed to
48 // be an email address.
49 std::string GetDisplayEmail(Profile* profile, const std::string& account_id);
50
45 } // namespace signin_ui_util 51 } // namespace signin_ui_util
46 52
47 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_ 53 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/fake_account_tracker_service.cc ('k') | chrome/browser/signin/signin_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698