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

Side by Side Diff: chrome/service/cloud_print/printer_job_handler.h

Issue 2035293002: Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments rogerta Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void Shutdown(); 114 void Shutdown();
115 115
116 base::TimeTicks last_job_fetch_time() const { return last_job_fetch_time_; } 116 base::TimeTicks last_job_fetch_time() const { return last_job_fetch_time_; }
117 117
118 // CloudPrintURLFetcher::Delegate implementation. 118 // CloudPrintURLFetcher::Delegate implementation.
119 CloudPrintURLFetcher::ResponseAction HandleRawResponse( 119 CloudPrintURLFetcher::ResponseAction HandleRawResponse(
120 const net::URLFetcher* source, 120 const net::URLFetcher* source,
121 const GURL& url, 121 const GURL& url,
122 const net::URLRequestStatus& status, 122 const net::URLRequestStatus& status,
123 int response_code, 123 int response_code,
124 const net::ResponseCookies& cookies,
125 const std::string& data) override; 124 const std::string& data) override;
126 CloudPrintURLFetcher::ResponseAction HandleRawData( 125 CloudPrintURLFetcher::ResponseAction HandleRawData(
127 const net::URLFetcher* source, 126 const net::URLFetcher* source,
128 const GURL& url, 127 const GURL& url,
129 const std::string& data) override; 128 const std::string& data) override;
130 CloudPrintURLFetcher::ResponseAction HandleJSONData( 129 CloudPrintURLFetcher::ResponseAction HandleJSONData(
131 const net::URLFetcher* source, 130 const net::URLFetcher* source,
132 const GURL& url, 131 const GURL& url,
133 const base::DictionaryValue* json_data, 132 const base::DictionaryValue* json_data,
134 bool succeeded) override; 133 bool succeeded) override;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 base::Time last_caps_update_time_; 306 base::Time last_caps_update_time_;
308 307
309 base::WeakPtrFactory<PrinterJobHandler> weak_ptr_factory_; 308 base::WeakPtrFactory<PrinterJobHandler> weak_ptr_factory_;
310 309
311 DISALLOW_COPY_AND_ASSIGN(PrinterJobHandler); 310 DISALLOW_COPY_AND_ASSIGN(PrinterJobHandler);
312 }; 311 };
313 312
314 } // namespace cloud_print 313 } // namespace cloud_print
315 314
316 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ 315 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_url_fetcher_unittest.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