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

Side by Side Diff: net/url_request/url_request_data_job.h

Issue 297003: Implement URLRequestDataJob (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/net.gyp ('k') | net/url_request/url_request_data_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 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.
4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
7
8 #include <string>
9
10 #include "net/url_request/url_request.h"
11 #include "net/url_request/url_request_simple_job.h"
12
13 class URLRequest;
14
15 class URLRequestDataJob : public URLRequestSimpleJob {
16 public:
17 explicit URLRequestDataJob(URLRequest* request);
18
19 virtual bool GetData(std::string* mime_type,
20 std::string* charset,
21 std::string* data) const;
22
23 static URLRequest::ProtocolFactory Factory;
24
25 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob);
26 };
27
28 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
29
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/url_request/url_request_data_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698