diff options
author | davidben <davidben@chromium.org> | 2015-03-23 11:48:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-23 18:49:16 +0000 |
commit | 151423e1851b45000257ef2d32ee0984a24133c7 (patch) | |
tree | cea7e7af8cf5771d650b8a72ebf74a887a4b8f94 /components/webp_transcode | |
parent | 8758634a7c0c79481469f50c9c8f1c580169adec (diff) | |
download | chromium_src-151423e1851b45000257ef2d32ee0984a24133c7.zip chromium_src-151423e1851b45000257ef2d32ee0984a24133c7.tar.gz chromium_src-151423e1851b45000257ef2d32ee0984a24133c7.tar.bz2 |
Remove prerender cookie store, part 4.
This removes the ability to pass in a custom CookieStore to a URLRequest. It's
a small change to net/url_request which then balloons to everything in the
project that ever makes a URLRequest.
This reverts the rest of https://codereview.chromium.org/188693003 (and then
does a whole lot more because URLRequest constructors were unified recently to
always require passing in the fourth argument).
BUG=457344
Review URL: https://codereview.chromium.org/1003953008
Cr-Commit-Position: refs/heads/master@{#321820}
Diffstat (limited to 'components/webp_transcode')
-rw-r--r-- | components/webp_transcode/webp_network_client_unittest.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/webp_transcode/webp_network_client_unittest.mm b/components/webp_transcode/webp_network_client_unittest.mm index da0ec0b..c5c425b 100644 --- a/components/webp_transcode/webp_network_client_unittest.mm +++ b/components/webp_transcode/webp_network_client_unittest.mm @@ -60,8 +60,7 @@ TEST_F(WebPNetworkClientTest, TestAcceptHeaders) { new net::TestURLRequestContext(false)); for (size_t i = 0; i < arraysize(tests); ++i) { scoped_ptr<net::URLRequest> request = - request_context->CreateRequest(url, net::DEFAULT_PRIORITY, nullptr, - nullptr).Pass(); + request_context->CreateRequest(url, net::DEFAULT_PRIORITY, nullptr); if (!tests[i].header_in.empty()) request->SetExtraRequestHeaderByName("Accept", tests[i].header_in, true); [webp_client_ didCreateNativeRequest:request.get()]; |