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

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

Issue 7529037: Consolidated OOBE/Login webui switched. Put WebUI OOBE/login in flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_performer.h" 5 #include "chrome/browser/chromeos/login/login_performer.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 LoginPerformer::LoginPerformer(Delegate* delegate) 46 LoginPerformer::LoginPerformer(Delegate* delegate)
47 : last_login_failure_(LoginFailure::None()), 47 : last_login_failure_(LoginFailure::None()),
48 delegate_(delegate), 48 delegate_(delegate),
49 password_changed_(false), 49 password_changed_(false),
50 screen_lock_requested_(false), 50 screen_lock_requested_(false),
51 initial_online_auth_pending_(false), 51 initial_online_auth_pending_(false),
52 auth_mode_(AUTH_MODE_INTERNAL), 52 auth_mode_(AUTH_MODE_INTERNAL),
53 using_oauth_( 53 using_oauth_(
54 CommandLine::ForCurrentProcess()->HasSwitch( 54 CommandLine::ForCurrentProcess()->HasSwitch(
55 switches::kWebUIGaiaLogin) && 55 switches::kWebUILogin) &&
56 !CommandLine::ForCurrentProcess()->HasSwitch( 56 !CommandLine::ForCurrentProcess()->HasSwitch(
57 switches::kSkipOAuthLogin)), 57 switches::kSkipOAuthLogin)),
58 method_factory_(this) { 58 method_factory_(this) {
59 DCHECK(default_performer_ == NULL) 59 DCHECK(default_performer_ == NULL)
60 << "LoginPerformer should have only one instance."; 60 << "LoginPerformer should have only one instance.";
61 default_performer_ = this; 61 default_performer_ = this;
62 } 62 }
63 63
64 LoginPerformer::~LoginPerformer() { 64 LoginPerformer::~LoginPerformer() {
65 DVLOG(1) << "Deleting LoginPerformer"; 65 DVLOG(1) << "Deleting LoginPerformer";
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 profile, 585 profile,
586 username_, 586 username_,
587 password_, 587 password_,
588 captcha_token_, 588 captcha_token_,
589 captcha_)); 589 captcha_));
590 } 590 }
591 password_.clear(); 591 password_.clear();
592 } 592 }
593 593
594 } // namespace chromeos 594 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/base_login_display_host.cc ('k') | chrome/browser/chromeos/login/parallel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698