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

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

Issue 12686006: Rename GoogleServiceAuthError::None() to AuthErrorNone() and LoginFailure::None() to LoginFailureNo… (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_performer.h" 5 #include "chrome/browser/chromeos/login/login_performer.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 using content::UserMetricsAction; 45 using content::UserMetricsAction;
46 46
47 namespace chromeos { 47 namespace chromeos {
48 48
49 // Initialize default LoginPerformer. 49 // Initialize default LoginPerformer.
50 // static 50 // static
51 LoginPerformer* LoginPerformer::default_performer_ = NULL; 51 LoginPerformer* LoginPerformer::default_performer_ = NULL;
52 52
53 LoginPerformer::LoginPerformer(Delegate* delegate) 53 LoginPerformer::LoginPerformer(Delegate* delegate)
54 : ALLOW_THIS_IN_INITIALIZER_LIST(online_attempt_host_(this)), 54 : ALLOW_THIS_IN_INITIALIZER_LIST(online_attempt_host_(this)),
55 last_login_failure_(LoginFailure::None()), 55 last_login_failure_(LoginFailure::LoginFailureNone()),
56 delegate_(delegate), 56 delegate_(delegate),
57 password_changed_(false), 57 password_changed_(false),
58 password_changed_callback_count_(0), 58 password_changed_callback_count_(0),
59 screen_lock_requested_(false), 59 screen_lock_requested_(false),
60 initial_online_auth_pending_(false), 60 initial_online_auth_pending_(false),
61 auth_mode_(AUTH_MODE_INTERNAL), 61 auth_mode_(AUTH_MODE_INTERNAL),
62 ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { 62 ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
63 DCHECK(default_performer_ == NULL) 63 DCHECK(default_performer_ == NULL)
64 << "LoginPerformer should have only one instance."; 64 << "LoginPerformer should have only one instance.";
65 default_performer_ = this; 65 default_performer_ = this;
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 profile, 535 profile,
536 username_, 536 username_,
537 password_, 537 password_,
538 std::string(), 538 std::string(),
539 std::string())); 539 std::string()));
540 } 540 }
541 password_.clear(); 541 password_.clear();
542 } 542 }
543 543
544 } // namespace chromeos 544 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.h ('k') | chrome/browser/chromeos/login/login_status_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698