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

Unified Diff: chrome/service/cloud_print/cloud_print_url_fetcher.cc

Issue 8416020: Handle additional feedback from http://codereview.chromium.org/8395038/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/service/cloud_print/cloud_print_url_fetcher.cc
===================================================================
--- chrome/service/cloud_print/cloud_print_url_fetcher.cc (revision 107626)
+++ chrome/service/cloud_print/cloud_print_url_fetcher.cc (working copy)
@@ -52,7 +52,7 @@
void CloudPrintURLFetcher::OnURLFetchComplete(
const content::URLFetcher* source) {
- VLOG(1) << "CP_PROXY: OnURLFetchComplete, url: " << source->GetUrl()
+ VLOG(1) << "CP_PROXY: OnURLFetchComplete, url: " << source->GetURL()
<< ", response code: " << source->GetResponseCode();
// Make sure we stay alive through the body of this function.
scoped_refptr<CloudPrintURLFetcher> keep_alive(this);
@@ -60,7 +60,7 @@
source->GetResponseAsString(&data);
ResponseAction action = delegate_->HandleRawResponse(
source,
- source->GetUrl(),
+ source->GetURL(),
source->GetStatus(),
source->GetResponseCode(),
source->GetCookies(),
@@ -78,7 +78,7 @@
if (!source->GetStatus().is_success() || (source->GetResponseCode() != 200))
action = RETRY_REQUEST;
else
- action = delegate_->HandleRawData(source, source->GetUrl(), data);
+ action = delegate_->HandleRawData(source, source->GetURL(), data);
if (action == CONTINUE_PROCESSING) {
// If the delegate is not interested in handling the raw response data,
@@ -90,7 +90,7 @@
CloudPrintHelpers::ParseResponseJSON(data, &succeeded, &response_dict);
if (response_dict)
action = delegate_->HandleJSONData(source,
- source->GetUrl(),
+ source->GetURL(),
response_dict,
succeeded);
else

Powered by Google App Engine
This is Rietveld 408576698