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

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

Issue 656283002: [session_manager] Move user session initialization code out of ExistingUserController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move first run session init and browser launch out of EUC Created 6 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) 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_EXISTING_USER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual void OnAuthFailure(const AuthFailure& error) override; 149 virtual void OnAuthFailure(const AuthFailure& error) override;
150 virtual void OnAuthSuccess(const UserContext& user_context) override; 150 virtual void OnAuthSuccess(const UserContext& user_context) override;
151 virtual void OnOffTheRecordAuthSuccess() override; 151 virtual void OnOffTheRecordAuthSuccess() override;
152 virtual void OnPasswordChangeDetected() override; 152 virtual void OnPasswordChangeDetected() override;
153 virtual void WhiteListCheckFailed(const std::string& email) override; 153 virtual void WhiteListCheckFailed(const std::string& email) override;
154 virtual void PolicyLoadFailed() override; 154 virtual void PolicyLoadFailed() override;
155 virtual void OnOnlineChecked( 155 virtual void OnOnlineChecked(
156 const std::string& username, bool success) override; 156 const std::string& username, bool success) override;
157 157
158 // LoginUtils::Delegate implementation: 158 // LoginUtils::Delegate implementation:
159 virtual void OnProfilePrepared(Profile* profile) override; 159 virtual void OnProfilePrepared(Profile* profile,
160 bool browser_launched) override;
160 161
161 // Called when device settings change. 162 // Called when device settings change.
162 void DeviceSettingsChanged(); 163 void DeviceSettingsChanged();
163 164
164 // Starts WizardController with the specified screen.
165 void ActivateWizard(const std::string& screen_name);
166
167 // Returns corresponding native window. 165 // Returns corresponding native window.
168 gfx::NativeWindow GetNativeWindow() const; 166 gfx::NativeWindow GetNativeWindow() const;
169 167
170 // Adds first-time login URLs.
171 void InitializeStartUrls() const;
172
173 // Show error message. |error_id| error message ID in resources. 168 // Show error message. |error_id| error message ID in resources.
174 // If |details| string is not empty, it specify additional error text 169 // If |details| string is not empty, it specify additional error text
175 // provided by authenticator, it is not localized. 170 // provided by authenticator, it is not localized.
176 void ShowError(int error_id, const std::string& details); 171 void ShowError(int error_id, const std::string& details);
177 172
178 // Shows Gaia page because password change was detected. 173 // Shows Gaia page because password change was detected.
179 void ShowGaiaPasswordChanged(const std::string& username); 174 void ShowGaiaPasswordChanged(const std::string& username);
180 175
181 // Handles result of ownership check and starts enterprise or kiosk enrollment 176 // Handles result of ownership check and starts enterprise or kiosk enrollment
182 // if applicable. 177 // if applicable.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 329
335 // Factory of callbacks. 330 // Factory of callbacks.
336 base::WeakPtrFactory<ExistingUserController> weak_factory_; 331 base::WeakPtrFactory<ExistingUserController> weak_factory_;
337 332
338 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 333 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
339 }; 334 };
340 335
341 } // namespace chromeos 336 } // namespace chromeos
342 337
343 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 338 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698