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

Unified Diff: chrome/browser/chromeos/login/cookie_fetcher.cc

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/cookie_fetcher.cc
===================================================================
--- chrome/browser/chromeos/login/cookie_fetcher.cc (revision 107061)
+++ chrome/browser/chromeos/login/cookie_fetcher.cc (working copy)
@@ -41,10 +41,11 @@
fetcher_.reset(client_login_handler_->Handle(credentials, this));
}
-void CookieFetcher::OnURLFetchComplete(const URLFetcher* source) {
- if (source->status().is_success() &&
- source->response_code() == kHttpSuccess) {
- if (issue_handler_->CanHandle(source->url())) {
+void CookieFetcher::
+OnURLFetchComplete(const content::URLFetcher* source) {
+ if (source->GetStatus().is_success() &&
+ source->GetResponseCode() == kHttpSuccess) {
+ if (issue_handler_->CanHandle(source->GetUrl())) {
VLOG(1) << "Handling auth token";
std::string data;
source->GetResponseAsString(&data);
« no previous file with comments | « chrome/browser/chromeos/login/cookie_fetcher.h ('k') | chrome/browser/chromeos/login/cookie_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698