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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 654 |
654 void WebURLLoaderImpl::cancel() { | 655 void WebURLLoaderImpl::cancel() { |
655 context_->Cancel(); | 656 context_->Cancel(); |
656 } | 657 } |
657 | 658 |
658 void WebURLLoaderImpl::setDefersLoading(bool value) { | 659 void WebURLLoaderImpl::setDefersLoading(bool value) { |
659 context_->SetDefersLoading(value); | 660 context_->SetDefersLoading(value); |
660 } | 661 } |
661 | 662 |
662 } // namespace webkit_glue | 663 } // namespace webkit_glue |
OLD | NEW |