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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cookie_fetcher.h" 5 #include "chrome/browser/chromeos/login/cookie_fetcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chromeos/boot_times_loader.h" 10 #include "chrome/browser/chromeos/boot_times_loader.h"
11 #include "chrome/browser/chromeos/login/client_login_response_handler.h" 11 #include "chrome/browser/chromeos/login/client_login_response_handler.h"
12 #include "chrome/browser/chromeos/login/issue_response_handler.h" 12 #include "chrome/browser/chromeos/login/issue_response_handler.h"
13 #include "chrome/browser/chromeos/login/login_utils.h" 13 #include "chrome/browser/chromeos/login/login_utils.h"
14 #include "chrome/browser/net/chrome_url_request_context.h" 14 #include "chrome/browser/net/chrome_url_request_context.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/profile_manager.h" 16 #include "chrome/browser/profiles/profile_manager.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/net/url_fetcher.h" 18 #include "chrome/common/net/url_fetcher.h"
19 #include "net/url_request/url_request_status.h" 19 #include "net/url_request/url_request_status.h"
20 20
21 namespace chromeos { 21 namespace chromeos {
22 22
23 CookieFetcher::CookieFetcher(Profile* profile) : profile_(profile) { 23 CookieFetcher::CookieFetcher(Profile* profile) : profile_(profile) {
24 CHECK(profile_); 24 CHECK(profile_);
25 client_login_handler_.reset( 25 client_login_handler_.reset(
26 new ClientLoginResponseHandler(profile_->GetRequestContext())); 26 new ClientLoginResponseHandler(profile_->GetRequestContext()));
(...skipping 17 matching lines...) Expand all
44 VLOG(1) << "Handling auth token"; 44 VLOG(1) << "Handling auth token";
45 fetcher_.reset(issue_handler_->Handle(data, this)); 45 fetcher_.reset(issue_handler_->Handle(data, this));
46 return; 46 return;
47 } 47 }
48 } 48 }
49 BootTimesLoader::Get()->AddLoginTimeMarker("CookiesFetched", false); 49 BootTimesLoader::Get()->AddLoginTimeMarker("CookiesFetched", false);
50 delete this; 50 delete this;
51 } 51 }
52 52
53 } // namespace chromeos 53 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/cookie_fetcher.h ('k') | chrome/browser/chromeos/login/eula_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698