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

Side by Side Diff: chrome/browser/ui/user_manager.h

Issue 2412863005: Make some code gender neutral. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_UI_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_USER_MANAGER_H_
6 #define CHROME_BROWSER_UI_USER_MANAGER_H_ 6 #define CHROME_BROWSER_UI_USER_MANAGER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/profiles/profile_window.h" 10 #include "chrome/browser/profiles/profile_window.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // reauthenticated. 66 // reauthenticated.
67 // |reason| can be REASON_UNLOCK or REASON_REAUTHENTICATION to indicate 67 // |reason| can be REASON_UNLOCK or REASON_REAUTHENTICATION to indicate
68 // whether this is a reauth or unlock scenario. 68 // whether this is a reauth or unlock scenario.
69 static void ShowReauthDialog(content::BrowserContext* browser_context, 69 static void ShowReauthDialog(content::BrowserContext* browser_context,
70 const std::string& email, 70 const std::string& email,
71 signin_metrics::Reason reason); 71 signin_metrics::Reason reason);
72 72
73 // Hides the reauth dialog if it is showing. 73 // Hides the reauth dialog if it is showing.
74 static void HideReauthDialog(); 74 static void HideReauthDialog();
75 75
76 // Shows a dialog where the user login his or her profile by the first time 76 // Shows a dialog where the user logs into their profile for the first time
77 // via user manager. 77 // via the user manager.
78 static void ShowSigninDialog(content::BrowserContext* browser_context, 78 static void ShowSigninDialog(content::BrowserContext* browser_context,
79 const base::FilePath& profile_path); 79 const base::FilePath& profile_path);
80 80
81 // Display local sign in error message without browser. 81 // Display local sign in error message without browser.
82 static void DisplayErrorMessage(); 82 static void DisplayErrorMessage();
83 83
84 // Get the path of profile that is being signed in. 84 // Get the path of profile that is being signed in.
85 static base::FilePath GetSigninProfilePath(); 85 static base::FilePath GetSigninProfilePath();
86 86
87 // Abstract base class for performing online reauthentication of profiles in 87 // Abstract base class for performing online reauthentication of profiles in
(...skipping 17 matching lines...) Expand all
105 content::WebContents* guest_web_contents_; 105 content::WebContents* guest_web_contents_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(BaseReauthDialogDelegate); 107 DISALLOW_COPY_AND_ASSIGN(BaseReauthDialogDelegate);
108 }; 108 };
109 109
110 private: 110 private:
111 DISALLOW_COPY_AND_ASSIGN(UserManager); 111 DISALLOW_COPY_AND_ASSIGN(UserManager);
112 }; 112 };
113 113
114 #endif // CHROME_BROWSER_UI_USER_MANAGER_H_ 114 #endif // CHROME_BROWSER_UI_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | chrome/common/extensions/api/platform_keys.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698