| OLD | NEW |
| 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/test/embedded_test_server/embedded_test_server.h" | 5 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 6 | 6 |
| 7 #include "base/path_service.h" |
| 7 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
| 8 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
| 9 #include "net/http/http_response_headers.h" | 10 #include "net/http/http_response_headers.h" |
| 10 #include "net/test/embedded_test_server/http_request.h" | 11 #include "net/test/embedded_test_server/http_request.h" |
| 11 #include "net/test/embedded_test_server/http_response.h" | 12 #include "net/test/embedded_test_server/http_response.h" |
| 12 #include "net/url_request/url_fetcher.h" | 13 #include "net/url_request/url_fetcher.h" |
| 13 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
| 14 #include "net/url_request/url_request_test_util.h" | 15 #include "net/url_request/url_request_test_util.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 17 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 ASSERT_TRUE(base::PlatformThread::Create(0, &delegate, &thread_handle)); | 327 ASSERT_TRUE(base::PlatformThread::Create(0, &delegate, &thread_handle)); |
| 327 base::PlatformThread::Join(thread_handle); | 328 base::PlatformThread::Join(thread_handle); |
| 328 } | 329 } |
| 329 | 330 |
| 330 INSTANTIATE_TEST_CASE_P(EmbeddedTestServerThreadingTestInstantiation, | 331 INSTANTIATE_TEST_CASE_P(EmbeddedTestServerThreadingTestInstantiation, |
| 331 EmbeddedTestServerThreadingTest, | 332 EmbeddedTestServerThreadingTest, |
| 332 testing::Combine(testing::Bool(), testing::Bool())); | 333 testing::Combine(testing::Bool(), testing::Bool())); |
| 333 | 334 |
| 334 } // namespace test_server | 335 } // namespace test_server |
| 335 } // namespace net | 336 } // namespace net |
| OLD | NEW |