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

Side by Side Diff: net/url_request/url_request_http_job_unittest.cc

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_ftp_job_unittest.cc ('k') | net/url_request/url_request_job.h » ('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) 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/url_request/url_request_http_job.h" 5 #include "net/url_request/url_request_http_job.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "googleurl/src/gurl.h"
12 #include "net/base/auth.h" 11 #include "net/base/auth.h"
13 #include "net/http/http_transaction_factory.h" 12 #include "net/http/http_transaction_factory.h"
14 #include "net/http/http_transaction_unittest.h" 13 #include "net/http/http_transaction_unittest.h"
15 #include "net/url_request/url_request_status.h" 14 #include "net/url_request/url_request_status.h"
16 #include "net/url_request/url_request_test_util.h" 15 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "url/gurl.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 namespace { 21 namespace {
22 22
23 // Inherit from URLRequestHttpJob to expose the priority and some 23 // Inherit from URLRequestHttpJob to expose the priority and some
24 // other hidden functions. 24 // other hidden functions.
25 class TestURLRequestHttpJob : public URLRequestHttpJob { 25 class TestURLRequestHttpJob : public URLRequestHttpJob {
26 public: 26 public:
27 explicit TestURLRequestHttpJob(URLRequest* request) 27 explicit TestURLRequestHttpJob(URLRequest* request)
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Creates a second transaction. 112 // Creates a second transaction.
113 job->Start(); 113 job->Start();
114 ASSERT_TRUE(network_layer_.last_transaction()); 114 ASSERT_TRUE(network_layer_.last_transaction());
115 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority()); 115 EXPECT_EQ(LOW, network_layer_.last_transaction()->priority());
116 } 116 }
117 117
118 } // namespace 118 } // namespace
119 119
120 } // namespace net 120 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_ftp_job_unittest.cc ('k') | net/url_request/url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698