OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/child/web_url_loader_impl.h" | 5 #include "content/child/web_url_loader_impl.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/time/time.h" |
12 #include "content/child/resource_dispatcher.h" | 13 #include "content/child/resource_dispatcher.h" |
13 #include "content/public/child/request_peer.h" | 14 #include "content/public/child/request_peer.h" |
14 #include "content/public/common/resource_response_info.h" | 15 #include "content/public/common/resource_response_info.h" |
15 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
16 #include "net/http/http_response_headers.h" | 17 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_util.h" | 18 #include "net/http/http_util.h" |
18 #include "net/url_request/redirect_info.h" | 19 #include "net/url_request/redirect_info.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "third_party/WebKit/public/platform/WebString.h" | 21 #include "third_party/WebKit/public/platform/WebString.h" |
21 #include "third_party/WebKit/public/platform/WebURLError.h" | 22 #include "third_party/WebKit/public/platform/WebURLError.h" |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 client()->set_delete_on_fail(); | 641 client()->set_delete_on_fail(); |
641 DoStartAsyncRequest(); | 642 DoStartAsyncRequest(); |
642 DoReceiveResponseMultipart(); | 643 DoReceiveResponseMultipart(); |
643 DoReceiveDataMultipart(); | 644 DoReceiveDataMultipart(); |
644 DoFailRequest(); | 645 DoFailRequest(); |
645 EXPECT_FALSE(bridge()); | 646 EXPECT_FALSE(bridge()); |
646 } | 647 } |
647 | 648 |
648 } // namespace | 649 } // namespace |
649 } // namespace content | 650 } // namespace content |
OLD | NEW |