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
3 // found in the LICENSE file.
5 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
10 #include "net/url_request/url_request.h"
11 #include "net/url_request/url_request_simple_job.h"
17 class URLRequestDataJob
: public URLRequestSimpleJob
{
19 URLRequestDataJob(URLRequest
* request
, NetworkDelegate
* network_delegate
);
21 // URLRequestSimpleJob
22 virtual int GetData(std::string
* mime_type
,
25 const CompletionCallback
& callback
) const OVERRIDE
;
28 virtual ~URLRequestDataJob();
30 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob
);
35 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_