| OLD | NEW |
| 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" | |
| 10 #include "chrome/browser/chromeos/boot_times_loader.h" | 9 #include "chrome/browser/chromeos/boot_times_loader.h" |
| 11 #include "chrome/browser/chromeos/login/client_login_response_handler.h" | 10 #include "chrome/browser/chromeos/login/client_login_response_handler.h" |
| 12 #include "chrome/browser/chromeos/login/issue_response_handler.h" | 11 #include "chrome/browser/chromeos/login/issue_response_handler.h" |
| 13 #include "chrome/browser/chromeos/login/login_utils.h" | 12 #include "chrome/browser/chromeos/login/login_utils.h" |
| 14 #include "chrome/browser/net/chrome_url_request_context.h" | 13 #include "chrome/browser/net/chrome_url_request_context.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
| 17 #include "chrome/common/chrome_paths.h" | 16 #include "chrome/common/chrome_paths.h" |
| 18 #include "chrome/common/net/url_fetcher.h" | 17 #include "chrome/common/net/url_fetcher.h" |
| 19 #include "net/url_request/url_request_status.h" | 18 #include "net/url_request/url_request_status.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 VLOG(1) << "Handling auth token"; | 43 VLOG(1) << "Handling auth token"; |
| 45 fetcher_.reset(issue_handler_->Handle(data, this)); | 44 fetcher_.reset(issue_handler_->Handle(data, this)); |
| 46 return; | 45 return; |
| 47 } | 46 } |
| 48 } | 47 } |
| 49 BootTimesLoader::Get()->AddLoginTimeMarker("CookiesFetched", false); | 48 BootTimesLoader::Get()->AddLoginTimeMarker("CookiesFetched", false); |
| 50 delete this; | 49 delete this; |
| 51 } | 50 } |
| 52 | 51 |
| 53 } // namespace chromeos | 52 } // namespace chromeos |
| OLD | NEW |