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

Unified Diff: net/url_request/url_request_simple_job.h

Issue 1271593002: Fix cancellation of a pair of URLRequestJob subclasses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 5 years, 4 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: net/url_request/url_request_simple_job.h
diff --git a/net/url_request/url_request_simple_job.h b/net/url_request/url_request_simple_job.h
index 4adabc1b5eab51d8d95db7291d676fb5c7573d41..6c9d5e8b929f4daf8297036c4624db0d0aa4b643 100644
--- a/net/url_request/url_request_simple_job.h
+++ b/net/url_request/url_request_simple_job.h
@@ -27,6 +27,7 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob {
URLRequestSimpleJob(URLRequest* request, NetworkDelegate* network_delegate);
void Start() override;
+ void Kill() override;
bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override;
bool GetMimeType(std::string* mime_type) const override;
bool GetCharset(std::string* charset) override;

Powered by Google App Engine
This is Rietveld 408576698