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