Home | History | Annotate | Download | only in cloud_print

Lines Matching defs:CloudPrintURLFetcher

26 void ReportRequestTime(CloudPrintURLFetcher::RequestType type,
28 if (type == CloudPrintURLFetcher::REQUEST_REGISTER) {
30 } else if (type == CloudPrintURLFetcher::REQUEST_UPDATE_PRINTER) {
32 } else if (type == CloudPrintURLFetcher::REQUEST_DATA) {
39 void ReportRetriesCount(CloudPrintURLFetcher::RequestType type,
41 if (type == CloudPrintURLFetcher::REQUEST_REGISTER) {
43 } else if (type == CloudPrintURLFetcher::REQUEST_UPDATE_PRINTER) {
46 } else if (type == CloudPrintURLFetcher::REQUEST_DATA) {
54 void ReportDownloadSize(CloudPrintURLFetcher::RequestType type, size_t size) {
55 if (type == CloudPrintURLFetcher::REQUEST_REGISTER) {
57 } else if (type == CloudPrintURLFetcher::REQUEST_UPDATE_PRINTER) {
60 } else if (type == CloudPrintURLFetcher::REQUEST_DATA) {
68 void ReportUploadSize(CloudPrintURLFetcher::RequestType type, size_t size) {
69 if (type == CloudPrintURLFetcher::REQUEST_REGISTER) {
71 } else if (type == CloudPrintURLFetcher::REQUEST_UPDATE_PRINTER) {
74 } else if (type == CloudPrintURLFetcher::REQUEST_DATA) {
90 CloudPrintURLFetcher* CloudPrintURLFetcher::Create() {
91 CloudPrintURLFetcherFactory* factory = CloudPrintURLFetcher::factory();
93 new CloudPrintURLFetcher;
97 CloudPrintURLFetcherFactory* CloudPrintURLFetcher::factory() {
102 void CloudPrintURLFetcher::set_factory(CloudPrintURLFetcherFactory* factory) {
106 CloudPrintURLFetcher::ResponseAction
107 CloudPrintURLFetcher::Delegate::HandleRawResponse(
117 CloudPrintURLFetcher::ResponseAction
118 CloudPrintURLFetcher::Delegate::HandleRawData(
125 CloudPrintURLFetcher::ResponseAction
126 CloudPrintURLFetcher::Delegate::HandleJSONData(
134 CloudPrintURLFetcher::CloudPrintURLFetcher()
140 bool CloudPrintURLFetcher::IsSameRequest(const net::URLFetcher* source) {
144 void CloudPrintURLFetcher::StartGetRequest(
154 void CloudPrintURLFetcher::StartPostRequest(
166 void CloudPrintURLFetcher::OnURLFetchComplete(
171 scoped_refptr<CloudPrintURLFetcher> keep_alive(this);
251 void CloudPrintURLFetcher::StartRequestHelper(
283 void CloudPrintURLFetcher::SetupRequestHeaders() {
295 CloudPrintURLFetcher::~CloudPrintURLFetcher() {}
297 net::URLRequestContextGetter* CloudPrintURLFetcher::GetRequestContextGetter() {