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/ref_counted.h" | |
darin (slow to review)
2014/08/19 20:50:08
nit: these includes are no longer needed, right?
tyoshino (SeeGerritForStatus)
2014/08/20 07:09:52
Oh sorry, right. TimeTick is used so time.h should
| |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/time/time.h" | |
12 #include "content/child/resource_dispatcher.h" | 14 #include "content/child/resource_dispatcher.h" |
13 #include "content/public/child/request_peer.h" | 15 #include "content/public/child/request_peer.h" |
14 #include "content/public/common/resource_response_info.h" | 16 #include "content/public/common/resource_response_info.h" |
15 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
16 #include "net/http/http_response_headers.h" | 18 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_util.h" | 19 #include "net/http/http_util.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
19 #include "third_party/WebKit/public/platform/WebString.h" | 21 #include "third_party/WebKit/public/platform/WebString.h" |
20 #include "third_party/WebKit/public/platform/WebURLError.h" | 22 #include "third_party/WebKit/public/platform/WebURLError.h" |
21 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 23 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
634 client()->set_delete_on_fail(); | 636 client()->set_delete_on_fail(); |
635 DoStartAsyncRequest(); | 637 DoStartAsyncRequest(); |
636 DoReceiveResponseMultipart(); | 638 DoReceiveResponseMultipart(); |
637 DoReceiveDataMultipart(); | 639 DoReceiveDataMultipart(); |
638 DoFailRequest(); | 640 DoFailRequest(); |
639 EXPECT_FALSE(bridge()); | 641 EXPECT_FALSE(bridge()); |
640 } | 642 } |
641 | 643 |
642 } // namespace | 644 } // namespace |
643 } // namespace content | 645 } // namespace content |
OLD | NEW |