diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 19:42:00 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 19:42:00 +0000 |
commit | 7e4468d50ab7c74fad98adcb847d82c5750f2a21 (patch) | |
tree | bcaecf049255d834e454b10512b241172109bd6f /net/url_request | |
parent | 2aa3de25c0bca5f7c06a89a100bb7cd50004b853 (diff) | |
download | chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.zip chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.gz chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.bz2 |
FBTF: Move a bunch of code to the headers and remove includes.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3412016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/https_prober.cc | 6 | ||||
-rw-r--r-- | net/url_request/https_prober.h | 3 | ||||
-rw-r--r-- | net/url_request/url_request_data_job.cc | 3 | ||||
-rw-r--r-- | net/url_request/url_request_data_job.h | 2 |
4 files changed, 11 insertions, 3 deletions
diff --git a/net/url_request/https_prober.cc b/net/url_request/https_prober.cc index a7163ba..d69eaf3 100644 --- a/net/url_request/https_prober.cc +++ b/net/url_request/https_prober.cc @@ -9,6 +9,12 @@ namespace net { +HTTPSProber::HTTPSProber() { +} + +HTTPSProber::~HTTPSProber() { +} + bool HTTPSProber::HaveProbed(const std::string& host) const { return probed_.find(host) != probed_.end(); } diff --git a/net/url_request/https_prober.h b/net/url_request/https_prober.h index b85b126..28182c4 100644 --- a/net/url_request/https_prober.h +++ b/net/url_request/https_prober.h @@ -33,7 +33,8 @@ class HTTPSProberDelegate { // transparently upgrading from HTTP to HTTPS (for example, for SPDY). class HTTPSProber : public URLRequest::Delegate { public: - HTTPSProber() {} + HTTPSProber(); + ~HTTPSProber(); // HaveProbed returns true if the given host is known to have been probed // since the browser was last started. diff --git a/net/url_request/url_request_data_job.cc b/net/url_request/url_request_data_job.cc index ff52bb3..737f169 100644 --- a/net/url_request/url_request_data_job.cc +++ b/net/url_request/url_request_data_job.cc @@ -19,7 +19,6 @@ URLRequestDataJob::URLRequestDataJob(URLRequest* request) : URLRequestSimpleJob(request) { } - bool URLRequestDataJob::GetData(std::string* mime_type, std::string* charset, std::string* data) const { @@ -31,3 +30,5 @@ bool URLRequestDataJob::GetData(std::string* mime_type, return net::DataURL::Parse(url, mime_type, charset, data); } +URLRequestDataJob::~URLRequestDataJob() { +} diff --git a/net/url_request/url_request_data_job.h b/net/url_request/url_request_data_job.h index 80ea450..1bb868a 100644 --- a/net/url_request/url_request_data_job.h +++ b/net/url_request/url_request_data_job.h @@ -24,7 +24,7 @@ class URLRequestDataJob : public URLRequestSimpleJob { static URLRequest::ProtocolFactory Factory; private: - ~URLRequestDataJob() {} + ~URLRequestDataJob(); DISALLOW_COPY_AND_ASSIGN(URLRequestDataJob); }; |