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

Side by Side Diff: chrome/browser/chromeos/login/login_status_consumer.cc

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: 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 #include "chrome/browser/chromeos/login/login_status_consumer.h" 5 #include "chrome/browser/chromeos/login/login_status_consumer.h"
6 #include "chrome/browser/chromeos/login/user.h" 6 #include "chrome/browser/chromeos/login/user.h"
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 void LoginStatusConsumer::OnRetailModeLoginSuccess() { 10 void LoginStatusConsumer::OnRetailModeLoginSuccess() {
11 OnLoginSuccess(kRetailModeUserEMail, "", false, false); 11 OnLoginSuccess(UserCredentials(kRetailModeUserEMail,
12 "", // password
13 ""), // auth_code
14 false, // pending_requests
15 false); // using_oauth
12 } 16 }
13 17
14 void LoginStatusConsumer::OnPasswordChangeDetected() { 18 void LoginStatusConsumer::OnPasswordChangeDetected() {
15 NOTREACHED(); 19 NOTREACHED();
16 } 20 }
17 21
18 } // namespace chromeos 22 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698