Make ReadRawData a public member, so there is no need to detect types.

This commit is contained in:
Cheng Zhao 2013-08-30 20:38:06 +08:00
parent 2a462cc2b7
commit d8cd3d78ff
3 changed files with 3 additions and 24 deletions

View file

@ -52,17 +52,9 @@ class AdapterRequestJob : public net::URLRequestJob {
void CreateJobFromProtocolHandlerAndStart();
private:
enum JOB_TYPE {
REQUEST_ERROR_JOB,
REQUEST_STRING_JOB,
REQUEST_FILE_JOB,
};
// The delegated request job.
scoped_refptr<net::URLRequestJob> real_job_;
// Type of the delegated url request job.
JOB_TYPE type_;
// Default protocol handler.
ProtocolHandler* protocol_handler_;