| 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/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" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "net/dns/mock_host_resolver.h" | 26 #include "net/dns/mock_host_resolver.h" |
| 27 #include "net/http/http_response_headers.h" | 27 #include "net/http/http_response_headers.h" |
| 28 #include "net/test/spawned_test_server/spawned_test_server.h" | 28 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 29 #include "net/url_request/url_fetcher_delegate.h" | 29 #include "net/url_request/url_fetcher_delegate.h" |
| 30 #include "net/url_request/url_request_context_getter.h" | 30 #include "net/url_request/url_request_context_getter.h" |
| 31 #include "net/url_request/url_request_test_util.h" | 31 #include "net/url_request/url_request_test_util.h" |
| 32 #include "net/url_request/url_request_throttler_manager.h" | 32 #include "net/url_request/url_request_throttler_manager.h" |
| 33 #include "testing/gtest/include/gtest/gtest.h" | 33 #include "testing/gtest/include/gtest/gtest.h" |
| 34 | 34 |
| 35 #if defined(USE_NSS) || defined(OS_IOS) | 35 #if defined(USE_NSS) || defined(OS_IOS) |
| 36 #include "net/ocsp/nss_ocsp.h" | 36 #include "net/cert_net/nss_ocsp.h" |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 namespace net { | 39 namespace net { |
| 40 | 40 |
| 41 using base::Time; | 41 using base::Time; |
| 42 using base::TimeDelta; | 42 using base::TimeDelta; |
| 43 | 43 |
| 44 // TODO(eroman): Add a regression test for http://crbug.com/40505. | 44 // TODO(eroman): Add a regression test for http://crbug.com/40505. |
| 45 | 45 |
| 46 namespace { | 46 namespace { |
| (...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 | 1452 |
| 1453 base::MessageLoop::current()->RunUntilIdle(); | 1453 base::MessageLoop::current()->RunUntilIdle(); |
| 1454 ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << | 1454 ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << |
| 1455 "FilePath: " << file_path_.value(); | 1455 "FilePath: " << file_path_.value(); |
| 1456 } | 1456 } |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 } // namespace | 1459 } // namespace |
| 1460 | 1460 |
| 1461 } // namespace net | 1461 } // namespace net |
| OLD | NEW |