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

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

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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_fetcher_impl_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_context_builder.h" 5 #include "net/url_request/url_request_context_builder.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "net/test/spawned_test_server.h" 8 #include "net/test/spawned_test_server/spawned_test_server.h"
9 #include "net/url_request/url_request.h" 9 #include "net/url_request/url_request.h"
10 #include "net/url_request/url_request_test_util.h" 10 #include "net/url_request/url_request_test_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
13 13
14 #if defined(OS_LINUX) || defined(OS_ANDROID) 14 #if defined(OS_LINUX) || defined(OS_ANDROID)
15 #include "net/proxy/proxy_config.h" 15 #include "net/proxy/proxy_config.h"
16 #include "net/proxy/proxy_config_service_fixed.h" 16 #include "net/proxy/proxy_config_service_fixed.h"
17 #endif // defined(OS_LINUX) || defined(OS_ANDROID) 17 #endif // defined(OS_LINUX) || defined(OS_ANDROID)
18 18
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 test_server_.GetURL("echoheader?User-Agent"), &delegate, context.get()); 74 test_server_.GetURL("echoheader?User-Agent"), &delegate, context.get());
75 request.set_method("GET"); 75 request.set_method("GET");
76 request.Start(); 76 request.Start();
77 MessageLoop::current()->Run(); 77 MessageLoop::current()->Run();
78 EXPECT_EQ("Bar", delegate.data_received()); 78 EXPECT_EQ("Bar", delegate.data_received());
79 } 79 }
80 80
81 } // namespace 81 } // namespace
82 82
83 } // namespace net 83 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_impl_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698