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

Unified Diff: net/url_request/url_request_file_job.h

Issue 40138: Use FilterContext to allow filters to access URLRequestJob data... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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_file_job.h
===================================================================
--- net/url_request/url_request_file_job.h (revision 11030)
+++ net/url_request/url_request_file_job.h (working copy)
@@ -5,6 +5,8 @@
#ifndef NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_
#define NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_
+#include <string>
+
#include "base/file_path.h"
#include "base/file_util.h"
#include "net/base/completion_callback.h"
@@ -22,7 +24,7 @@
virtual void Kill();
virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
virtual bool IsRedirectResponse(GURL* location, int* http_status_code);
- virtual bool GetMimeType(std::string* mime_type);
+ virtual bool GetMimeType(std::string* mime_type) const;
static URLRequest::ProtocolFactory Factory;

Powered by Google App Engine
This is Rietveld 408576698