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/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 unsigned long long AwContentRendererClient::VisitedLinkHash( | 95 unsigned long long AwContentRendererClient::VisitedLinkHash( |
96 const char* canonical_url, | 96 const char* canonical_url, |
97 size_t length) { | 97 size_t length) { |
98 return visited_link_slave_->ComputeURLFingerprint(canonical_url, length); | 98 return visited_link_slave_->ComputeURLFingerprint(canonical_url, length); |
99 } | 99 } |
100 | 100 |
101 bool AwContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 101 bool AwContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
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, | |
106 size_t length) { | |
107 // TODO(boliu): Implement hostname prefetch for Android WebView. | |
108 // Perhaps componentize chrome implementation or move to content/? | |
109 } | |
110 | |
111 } // namespace android_webview | 105 } // namespace android_webview |
OLD | NEW |