summaryrefslogtreecommitdiffstats
path: root/content/test/test_url_fetcher_factory.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 13:47:01 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 13:47:01 +0000
commitd2106bc916c93d388c87327fd390ef35a85ec991 (patch)
treed7d38cd5bfd49d1e0672086ea04daa5e98871d68 /content/test/test_url_fetcher_factory.cc
parent40cb8e0cc19c8b2d192a1d62389cc0da34725fea (diff)
downloadchromium_src-d2106bc916c93d388c87327fd390ef35a85ec991.zip
chromium_src-d2106bc916c93d388c87327fd390ef35a85ec991.tar.gz
chromium_src-d2106bc916c93d388c87327fd390ef35a85ec991.tar.bz2
Move URLFetcherImpl::Core into its own class and file
This is the first step of moving URLFetcher to net. This turns URLFetcherImpl into a wrapper around URLFetcherCore. Remove some unused functions. Make URLFetcher::GetExtraRequestHeaders() const. BUG=118220 TEST= Review URL: http://codereview.chromium.org/9838031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_url_fetcher_factory.cc')
-rw-r--r--content/test/test_url_fetcher_factory.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/test/test_url_fetcher_factory.cc b/content/test/test_url_fetcher_factory.cc
index 41d1e31..d8deeec 100644
--- a/content/test/test_url_fetcher_factory.cc
+++ b/content/test/test_url_fetcher_factory.cc
@@ -80,7 +80,8 @@ void TestURLFetcher::AddExtraRequestHeader(const std::string& header_line) {
fake_extra_request_headers_.AddHeaderFromString(header_line);
}
-void TestURLFetcher::GetExtraRequestHeaders(net::HttpRequestHeaders* headers) {
+void TestURLFetcher::GetExtraRequestHeaders(
+ net::HttpRequestHeaders* headers) const {
*headers = fake_extra_request_headers_;
}