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

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

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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
« no previous file with comments | « net/url_request/https_prober.cc ('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')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "net/url_request/url_request.h" 11 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_simple_job.h" 12 #include "net/url_request/url_request_simple_job.h"
13 13
14 class URLRequest; 14 class URLRequest;
15 15
16 class URLRequestDataJob : public URLRequestSimpleJob { 16 class URLRequestDataJob : public URLRequestSimpleJob {
17 public: 17 public:
18 explicit URLRequestDataJob(URLRequest* request); 18 explicit URLRequestDataJob(URLRequest* request);
19 19
20 virtual bool GetData(std::string* mime_type, 20 virtual bool GetData(std::string* mime_type,
21 std::string* charset, 21 std::string* charset,
22 std::string* data) const; 22 std::string* data) const;
23 23
24 static URLRequest::ProtocolFactory Factory; 24 static URLRequest::ProtocolFactory Factory;
25 25
26 private: 26 private:
27 ~URLRequestDataJob() {} 27 ~URLRequestDataJob();
28 28
29 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob); 29 DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob);
30 }; 30 };
31 31
32 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_ 32 #endif // NET_URL_REQUEST_URL_REQUEST_DATA_JOB_H_
33 33
OLDNEW
« no previous file with comments | « net/url_request/https_prober.cc ('k') | net/url_request/url_request_data_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698