OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "android_webview/renderer/aw_content_renderer_client.h" | 5 #include "android_webview/renderer/aw_content_renderer_client.h" |
6 | 6 |
7 #include "android_webview/common/aw_resource.h" | 7 #include "android_webview/common/aw_resource.h" |
8 #include "android_webview/common/url_constants.h" | 8 #include "android_webview/common/url_constants.h" |
9 #include "android_webview/renderer/aw_render_view_ext.h" | 9 #include "android_webview/renderer/aw_render_view_ext.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "components/autofill/content/renderer/autofill_agent.h" | 12 #include "components/autofill/content/renderer/autofill_agent.h" |
13 #include "components/autofill/content/renderer/password_autofill_agent.h" | 13 #include "components/autofill/content/renderer/password_autofill_agent.h" |
14 #include "components/visitedlink/renderer/visitedlink_slave.h" | 14 #include "components/visitedlink/renderer/visitedlink_slave.h" |
15 #include "content/public/renderer/render_thread.h" | 15 #include "content/public/renderer/render_thread.h" |
16 #include "googleurl/src/gurl.h" | |
17 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
18 #include "third_party/WebKit/public/platform/WebString.h" | 17 #include "third_party/WebKit/public/platform/WebString.h" |
19 #include "third_party/WebKit/public/platform/WebURL.h" | 18 #include "third_party/WebKit/public/platform/WebURL.h" |
20 #include "third_party/WebKit/public/platform/WebURLError.h" | 19 #include "third_party/WebKit/public/platform/WebURLError.h" |
21 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 20 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
22 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 21 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 22 #include "url/gurl.h" |
23 | 23 |
24 namespace android_webview { | 24 namespace android_webview { |
25 | 25 |
26 AwContentRendererClient::AwContentRendererClient() { | 26 AwContentRendererClient::AwContentRendererClient() { |
27 } | 27 } |
28 | 28 |
29 AwContentRendererClient::~AwContentRendererClient() { | 29 AwContentRendererClient::~AwContentRendererClient() { |
30 } | 30 } |
31 | 31 |
32 void AwContentRendererClient::RenderThreadStarted() { | 32 void AwContentRendererClient::RenderThreadStarted() { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 return visited_link_slave_->IsVisited(link_hash); | 102 return visited_link_slave_->IsVisited(link_hash); |
103 } | 103 } |
104 | 104 |
105 void AwContentRendererClient::PrefetchHostName(const char* hostname, | 105 void AwContentRendererClient::PrefetchHostName(const char* hostname, |
106 size_t length) { | 106 size_t length) { |
107 // TODO(boliu): Implement hostname prefetch for Android WebView. | 107 // TODO(boliu): Implement hostname prefetch for Android WebView. |
108 // Perhaps componentize chrome implementation or move to content/? | 108 // Perhaps componentize chrome implementation or move to content/? |
109 } | 109 } |
110 | 110 |
111 } // namespace android_webview | 111 } // namespace android_webview |
OLD | NEW |