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

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

Issue 8387011: Chrome proxy refactoring. (Closed) Base URL: svn://svn.chromium.org/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/job_status_updater.cc
===================================================================
--- chrome/service/cloud_print/job_status_updater.cc (revision 107156)
+++ chrome/service/cloud_print/job_status_updater.cc (working copy)
@@ -89,7 +89,14 @@
return CloudPrintURLFetcher::STOP_PROCESSING;
}
-void JobStatusUpdater::OnRequestAuthError() {
+CloudPrintURLFetcher::ResponseAction JobStatusUpdater::OnRequestAuthError() {
+ // TODO(gene): We might consider stop processing if we get auth error here.
Albert Bodenhamer 2011/10/26 23:58:09 Bug?
if (delegate_)
delegate_->OnAuthError();
+ return CloudPrintURLFetcher::CONTINUE_PROCESSING;
}
+
+std::string JobStatusUpdater::GetAuthHeader() {
+ return CloudPrintHelpers::GetCloudPrintAuthHeader();
+}
+

Powered by Google App Engine
This is Rietveld 408576698