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

Side by Side Diff: net/url_request/url_fetcher_impl_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
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_fetcher_impl.h" 5 #include "net/url_request/url_fetcher_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "base/message_loop_proxy.h" 13 #include "base/message_loop_proxy.h"
14 #include "base/stringprintf.h" 14 #include "base/stringprintf.h"
15 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "crypto/nss_util.h" 18 #include "crypto/nss_util.h"
19 #include "net/base/network_change_notifier.h" 19 #include "net/base/network_change_notifier.h"
20 #include "net/dns/mock_host_resolver.h" 20 #include "net/dns/mock_host_resolver.h"
21 #include "net/http/http_response_headers.h" 21 #include "net/http/http_response_headers.h"
22 #include "net/test/spawned_test_server.h" 22 #include "net/test/spawned_test_server/spawned_test_server.h"
23 #include "net/url_request/url_fetcher_delegate.h" 23 #include "net/url_request/url_fetcher_delegate.h"
24 #include "net/url_request/url_request_context_getter.h" 24 #include "net/url_request/url_request_context_getter.h"
25 #include "net/url_request/url_request_test_util.h" 25 #include "net/url_request/url_request_test_util.h"
26 #include "net/url_request/url_request_throttler_manager.h" 26 #include "net/url_request/url_request_throttler_manager.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 28
29 #if defined(USE_NSS) || defined(OS_IOS) 29 #if defined(USE_NSS) || defined(OS_IOS)
30 #include "net/ocsp/nss_ocsp.h" 30 #include "net/ocsp/nss_ocsp.h"
31 #endif 31 #endif
32 32
(...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). 1521 MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit().
1522 1522
1523 MessageLoop::current()->RunUntilIdle(); 1523 MessageLoop::current()->RunUntilIdle();
1524 ASSERT_FALSE(file_util::PathExists(file_path_)) 1524 ASSERT_FALSE(file_util::PathExists(file_path_))
1525 << file_path_.value() << " not removed."; 1525 << file_path_.value() << " not removed.";
1526 } 1526 }
1527 1527
1528 } // namespace 1528 } // namespace
1529 1529
1530 } // namespace net 1530 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/testserver/run_testserver.cc ('k') | net/url_request/url_request_context_builder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698