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

Unified Diff: chrome/service/cloud_print/printer_job_handler.h

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
« no previous file with comments | « chrome/service/cloud_print/job_status_updater.cc ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/printer_job_handler.h
===================================================================
--- chrome/service/cloud_print/printer_job_handler.h (revision 107061)
+++ chrome/service/cloud_print/printer_job_handler.h (working copy)
@@ -127,18 +127,18 @@
// CloudPrintURLFetcher::Delegate implementation.
virtual CloudPrintURLFetcher::ResponseAction HandleRawResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
const net::URLRequestStatus& status,
int response_code,
const net::ResponseCookies& cookies,
const std::string& data);
virtual CloudPrintURLFetcher::ResponseAction HandleRawData(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
const std::string& data);
virtual CloudPrintURLFetcher::ResponseAction HandleJSONData(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
@@ -164,52 +164,52 @@
private:
// Prototype for a JSON data handler.
typedef CloudPrintURLFetcher::ResponseAction
- (PrinterJobHandler::*JSONDataHandler)(const URLFetcher* source,
+ (PrinterJobHandler::*JSONDataHandler)(const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
// Prototype for a data handler.
typedef CloudPrintURLFetcher::ResponseAction
- (PrinterJobHandler::*DataHandler)(const URLFetcher* source,
+ (PrinterJobHandler::*DataHandler)(const content::URLFetcher* source,
const GURL& url,
const std::string& data);
// Begin request handlers for each state in the state machine
CloudPrintURLFetcher::ResponseAction HandlePrinterUpdateResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
CloudPrintURLFetcher::ResponseAction HandlePrinterDeleteResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
CloudPrintURLFetcher::ResponseAction HandleJobMetadataResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
CloudPrintURLFetcher::ResponseAction HandlePrintTicketResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
const std::string& data);
CloudPrintURLFetcher::ResponseAction HandlePrintDataResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
const std::string& data);
CloudPrintURLFetcher::ResponseAction HandleSuccessStatusUpdateResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
CloudPrintURLFetcher::ResponseAction HandleFailureStatusUpdateResponse(
- const URLFetcher* source,
+ const content::URLFetcher* source,
const GURL& url,
base::DictionaryValue* json_data,
bool succeeded);
« no previous file with comments | « chrome/service/cloud_print/job_status_updater.cc ('k') | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698