Chromium Code Reviews| Index: content/public/renderer/content_renderer_client.h |
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h |
| index 653d38cecace3987bc813b8c8071628f84cf0578..401570fc1f16531be68c62199be93efdb89be500 100644 |
| --- a/content/public/renderer/content_renderer_client.h |
| +++ b/content/public/renderer/content_renderer_client.h |
| @@ -15,6 +15,7 @@ |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityState.h" |
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebPreconnectMotivation.h" |
| #include "v8/include/v8.h" |
| class GURL; |
| @@ -205,6 +206,9 @@ class CONTENT_EXPORT ContentRendererClient { |
| size_t length); |
| virtual bool IsLinkVisited(unsigned long long link_hash); |
| virtual void PrefetchHostName(const char* hostname, size_t length) {} |
| + virtual void Preconnect(const GURL& url, |
| + WebKit::WebPreconnectMotivation motivation, |
| + uint32_t motivationVariationId) {} |
|
jam
2013/05/01 14:58:11
nit: google c++ naming style (i.e. motivation_vari
|
| virtual bool ShouldOverridePageVisibilityState( |
| const RenderView* render_view, |
| WebKit::WebPageVisibilityState* override_state) const; |