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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h

Issue 2587993002: Chromad: Switch AuthPolicyClient to use cros_system_api enums. (Closed)
Patch Set: Move default to the end of switch. Created 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void StartClearingCookies(const base::Closure& on_clear_callback); 128 void StartClearingCookies(const base::Closure& on_clear_callback);
129 void OnCookiesCleared(const base::Closure& on_clear_callback); 129 void OnCookiesCleared(const base::Closure& on_clear_callback);
130 130
131 // Kick off DNS cache flushing. 131 // Kick off DNS cache flushing.
132 void StartClearingDnsCache(); 132 void StartClearingDnsCache();
133 void OnDnsCleared(); 133 void OnDnsCleared();
134 134
135 // Callback for AuthPolicyClient. 135 // Callback for AuthPolicyClient.
136 void DoAdAuth(const std::string& username, 136 void DoAdAuth(const std::string& username,
137 const Key& key, 137 const Key& key,
138 authpolicy::AuthUserErrorType error, 138 authpolicy::ErrorType error,
139 const std::string& uid); 139 const std::string& uid);
140 140
141 // Callback for writing password into pipe. 141 // Callback for writing password into pipe.
142 void OnPasswordPipeReady(const std::string& user_name, 142 void OnPasswordPipeReady(const std::string& user_name,
143 const Key& key, 143 const Key& key,
144 base::ScopedFD password_fd); 144 base::ScopedFD password_fd);
145 145
146 // Show sign-in screen for the given credentials. 146 // Show sign-in screen for the given credentials.
147 void ShowSigninScreenForTest(const std::string& username, 147 void ShowSigninScreenForTest(const std::string& username,
148 const std::string& password); 148 const std::string& password);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 bool auth_extension_being_loaded_ = false; 268 bool auth_extension_being_loaded_ = false;
269 269
270 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; 270 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_;
271 271
272 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); 272 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler);
273 }; 273 };
274 274
275 } // namespace chromeos 275 } // namespace chromeos
276 276
277 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ 277 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698