OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
| 12 #include "base/scoped_ptr.h" |
12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
13 #include "base/time.h" | 14 #include "base/time.h" |
14 #include "net/base/data_url.h" | 15 #include "net/base/data_url.h" |
15 #include "net/base/load_flags.h" | 16 #include "net/base/load_flags.h" |
16 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
17 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
18 #include "net/http/http_response_headers.h" | 19 #include "net/http/http_response_headers.h" |
19 #include "third_party/WebKit/WebKit/chromium/public/WebHTTPHeaderVisitor.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebHTTPHeaderVisitor.h" |
20 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityPolicy.h" |
21 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 | 677 |
677 void WebURLLoaderImpl::cancel() { | 678 void WebURLLoaderImpl::cancel() { |
678 context_->Cancel(); | 679 context_->Cancel(); |
679 } | 680 } |
680 | 681 |
681 void WebURLLoaderImpl::setDefersLoading(bool value) { | 682 void WebURLLoaderImpl::setDefersLoading(bool value) { |
682 context_->SetDefersLoading(value); | 683 context_->SetDefersLoading(value); |
683 } | 684 } |
684 | 685 |
685 } // namespace webkit_glue | 686 } // namespace webkit_glue |
OLD | NEW |