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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 20 matching lines...) Expand all
31 #include "content/public/browser/notification_service.h" 31 #include "content/public/browser/notification_service.h"
32 #include "content/public/browser/notification_types.h" 32 #include "content/public/browser/notification_types.h"
33 #include "grit/generated_resources.h" 33 #include "grit/generated_resources.h"
34 #include "net/base/cookie_monster.h" 34 #include "net/base/cookie_monster.h"
35 #include "net/base/cookie_store.h" 35 #include "net/base/cookie_store.h"
36 #include "net/url_request/url_request_context.h" 36 #include "net/url_request/url_request_context.h"
37 #include "net/url_request/url_request_context_getter.h" 37 #include "net/url_request/url_request_context_getter.h"
38 #include "ui/base/l10n/l10n_util.h" 38 #include "ui/base/l10n/l10n_util.h"
39 #include "ui/base/resource/resource_bundle.h" 39 #include "ui/base/resource/resource_bundle.h"
40 40
41 using content::BrowserThread;
42
41 namespace chromeos { 43 namespace chromeos {
42 44
43 // Initialize default LoginPerformer. 45 // Initialize default LoginPerformer.
44 // static 46 // static
45 LoginPerformer* LoginPerformer::default_performer_ = NULL; 47 LoginPerformer* LoginPerformer::default_performer_ = NULL;
46 48
47 LoginPerformer::LoginPerformer(Delegate* delegate) 49 LoginPerformer::LoginPerformer(Delegate* delegate)
48 : last_login_failure_(LoginFailure::None()), 50 : last_login_failure_(LoginFailure::None()),
49 delegate_(delegate), 51 delegate_(delegate),
50 password_changed_(false), 52 password_changed_(false),
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 // retry online auth, using existing Authenticator instance. 569 // retry online auth, using existing Authenticator instance.
568 BrowserThread::PostTask( 570 BrowserThread::PostTask(
569 BrowserThread::UI, FROM_HERE, 571 BrowserThread::UI, FROM_HERE,
570 base::Bind(&Authenticator::RetryAuth, authenticator_.get(), profile, 572 base::Bind(&Authenticator::RetryAuth, authenticator_.get(), profile,
571 username_, password_, captcha_token_, captcha_)); 573 username_, password_, captcha_token_, captcha_));
572 } 574 }
573 password_.clear(); 575 password_.clear();
574 } 576 }
575 577
576 } // namespace chromeos 578 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/image_downloader.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698