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

Side by Side Diff: net/http/http_stream_factory_impl_request_unittest.cc

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Sync'd to revision p349162. Created 5 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "net/http/http_stream_factory_impl_request.h" 5 #include "net/http/http_stream_factory_impl_request.h"
6 6
7 #include "base/memory/scoped_ptr.h"
7 #include "net/http/http_stream_factory_impl_job.h" 8 #include "net/http/http_stream_factory_impl_job.h"
8 #include "net/proxy/proxy_info.h" 9 #include "net/proxy/proxy_info.h"
9 #include "net/proxy/proxy_service.h" 10 #include "net/proxy/proxy_service.h"
10 #include "net/spdy/spdy_test_util_common.h" 11 #include "net/spdy/spdy_test_util_common.h"
11 #include "net/ssl/ssl_failure_state.h" 12 #include "net/ssl/ssl_failure_state.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 class HttpStreamFactoryImplRequestTest 17 class HttpStreamFactoryImplRequestTest
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 EXPECT_EQ(MEDIUM, job->priority()); 88 EXPECT_EQ(MEDIUM, job->priority());
88 89
89 // Make |job| the bound job. 90 // Make |job| the bound job.
90 request.OnStreamFailed(job, ERR_FAILED, SSLConfig(), SSL_FAILURE_NONE); 91 request.OnStreamFailed(job, ERR_FAILED, SSLConfig(), SSL_FAILURE_NONE);
91 92
92 request.SetPriority(IDLE); 93 request.SetPriority(IDLE);
93 EXPECT_EQ(IDLE, job->priority()); 94 EXPECT_EQ(IDLE, job->priority());
94 } 95 }
95 96
96 } // namespace net 97 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698