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

Side by Side Diff: chrome/browser/chromeos/login/webui_login_display.h

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase4 Created 7 years, 9 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) 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_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void ShowSigninUI(const std::string& email) OVERRIDE; 49 virtual void ShowSigninUI(const std::string& email) OVERRIDE;
50 50
51 // NativeWindowDelegate implementation: 51 // NativeWindowDelegate implementation:
52 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 52 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
53 53
54 // SigninScreenHandlerDelegate implementation: 54 // SigninScreenHandlerDelegate implementation:
55 virtual void CancelPasswordChangedFlow() OVERRIDE; 55 virtual void CancelPasswordChangedFlow() OVERRIDE;
56 virtual void CreateAccount() OVERRIDE; 56 virtual void CreateAccount() OVERRIDE;
57 virtual void CreateLocallyManagedUser(const string16& display_name, 57 virtual void CreateLocallyManagedUser(const string16& display_name,
58 const std::string password) OVERRIDE; 58 const std::string password) OVERRIDE;
59 virtual void CompleteLogin(const std::string& username, 59 virtual void CompleteLogin(const UserCredentials& credentials) OVERRIDE;
60 const std::string& password) OVERRIDE; 60 virtual void Login(const UserCredentials& credentials) OVERRIDE;
61 virtual void Login(const std::string& username,
62 const std::string& password) OVERRIDE;
63 virtual void LoginAsRetailModeUser() OVERRIDE; 61 virtual void LoginAsRetailModeUser() OVERRIDE;
64 virtual void LoginAsGuest() OVERRIDE; 62 virtual void LoginAsGuest() OVERRIDE;
65 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; 63 virtual void MigrateUserData(const std::string& old_password) OVERRIDE;
66 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; 64 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE;
67 virtual void LoadWallpaper(const std::string& username) OVERRIDE; 65 virtual void LoadWallpaper(const std::string& username) OVERRIDE;
68 virtual void LoadSigninWallpaper() OVERRIDE; 66 virtual void LoadSigninWallpaper() OVERRIDE;
69 virtual void OnSigninScreenReady() OVERRIDE; 67 virtual void OnSigninScreenReady() OVERRIDE;
70 virtual void RemoveUser(const std::string& username) OVERRIDE; 68 virtual void RemoveUser(const std::string& username) OVERRIDE;
71 virtual void ResyncUserData() OVERRIDE; 69 virtual void ResyncUserData() OVERRIDE;
72 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; 70 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 105
108 // Reference to the WebUI handling layer for the login screen 106 // Reference to the WebUI handling layer for the login screen
109 LoginDisplayWebUIHandler* webui_handler_; 107 LoginDisplayWebUIHandler* webui_handler_;
110 108
111 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 109 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
112 }; 110 };
113 111
114 } // namespace chromeos 112 } // namespace chromeos
115 113
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user.cc ('k') | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698