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 #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/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "content/public/renderer/render_thread.h" | 11 #include "content/public/renderer/render_thread.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" | 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
18 | 18 |
19 namespace android_webview { | 19 namespace android_webview { |
20 | 20 |
21 AwContentRendererClient::AwContentRendererClient() { | 21 AwContentRendererClient::AwContentRendererClient() { |
22 } | 22 } |
23 | 23 |
24 AwContentRendererClient::~AwContentRendererClient() { | 24 AwContentRendererClient::~AwContentRendererClient() { |
25 } | 25 } |
26 | 26 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 return false; | 84 return false; |
85 } | 85 } |
86 | 86 |
87 void AwContentRendererClient::PrefetchHostName(const char* hostname, | 87 void AwContentRendererClient::PrefetchHostName(const char* hostname, |
88 size_t length) { | 88 size_t length) { |
89 // TODO(boliu): Implement hostname prefetch for Android WebView. | 89 // TODO(boliu): Implement hostname prefetch for Android WebView. |
90 // Perhaps componentize chrome implementation or move to content/? | 90 // Perhaps componentize chrome implementation or move to content/? |
91 } | 91 } |
92 | 92 |
93 } // namespace android_webview | 93 } // namespace android_webview |
OLD | NEW |