Index: cloud_print/gcp20/prototype/cloud_print_request.cc |
diff --git a/cloud_print/gcp20/prototype/cloud_print_request.cc b/cloud_print/gcp20/prototype/cloud_print_request.cc |
index 2d36dccce2fd64e8676d9c4859aa6aaca1c45030..e53eccd13c83dd7766a4354b0c3c624e95b87e68 100644 |
--- a/cloud_print/gcp20/prototype/cloud_print_request.cc |
+++ b/cloud_print/gcp20/prototype/cloud_print_request.cc |
@@ -60,7 +60,6 @@ scoped_ptr<CloudPrintRequest> CloudPrintRequest::CreatePost( |
void CloudPrintRequest::Run( |
const std::string& access_token, |
scoped_refptr<net::URLRequestContextGetter> context_getter) { |
- |
if (!access_token.empty()) |
fetcher_->AddExtraRequestHeader(base::StringPrintf( |
"Authorization: Bearer \"%s\"", access_token.c_str())); |
@@ -107,12 +106,11 @@ void CloudPrintRequest::OnURLFetchComplete(const URLFetcher* source) { |
} else { |
// TODO(maksymb): Add |server_http_code| and |server_api| info for errors. |
+ NOTIMPLEMENTED() << "HTTP code: " << http_code; |
delegate_->OnFetchError("dummy", -1, http_code); // After this object can |
// be deleted. |
// Do *NOT* access members |
// after this call. |
- |
- NOTIMPLEMENTED() << "HTTP code: " << http_code; |
} |
} |