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 // An implementation of WebURLLoader in terms of ResourceLoaderBridge. | 5 // An implementation of WebURLLoader in terms of ResourceLoaderBridge. |
6 | 6 |
7 #include "webkit/glue/weburlloader_impl.h" | 7 #include "webkit/glue/weburlloader_impl.h" |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/string_util.h" | 14 #include "base/strings/string_util.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "net/base/data_url.h" | 16 #include "net/base/data_url.h" |
17 #include "net/base/load_flags.h" | 17 #include "net/base/load_flags.h" |
18 #include "net/base/mime_util.h" | 18 #include "net/base/mime_util.h" |
19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
20 #include "net/base/net_util.h" | 20 #include "net/base/net_util.h" |
21 #include "net/http/http_response_headers.h" | 21 #include "net/http/http_response_headers.h" |
22 #include "net/http/http_util.h" | 22 #include "net/http/http_util.h" |
23 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" | 23 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
24 #include "third_party/WebKit/public/platform/WebHTTPLoadInfo.h" | 24 #include "third_party/WebKit/public/platform/WebHTTPLoadInfo.h" |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 | 847 |
848 void WebURLLoaderImpl::setDefersLoading(bool value) { | 848 void WebURLLoaderImpl::setDefersLoading(bool value) { |
849 context_->SetDefersLoading(value); | 849 context_->SetDefersLoading(value); |
850 } | 850 } |
851 | 851 |
852 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) { | 852 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) { |
853 context_->DidChangePriority(new_priority); | 853 context_->DidChangePriority(new_priority); |
854 } | 854 } |
855 | 855 |
856 } // namespace webkit_glue | 856 } // namespace webkit_glue |
OLD | NEW |