Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 14749005: Implement WebPrescientNetworking to trigger preconnect from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 v8::Handle<v8::Context> context, 98 v8::Handle<v8::Context> context,
99 int extension_group, 99 int extension_group,
100 int world_id) OVERRIDE; 100 int world_id) OVERRIDE;
101 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, 101 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
102 v8::Handle<v8::Context> context, 102 v8::Handle<v8::Context> context,
103 int world_id) OVERRIDE; 103 int world_id) OVERRIDE;
104 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 104 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
105 size_t length) OVERRIDE; 105 size_t length) OVERRIDE;
106 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 106 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
107 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; 107 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
108 virtual void Preconnect(const GURL& url,
109 WebKit::WebPreconnectMotivation motivation,
110 uint32_t motivationVariationId) OVERRIDE;
108 virtual bool ShouldOverridePageVisibilityState( 111 virtual bool ShouldOverridePageVisibilityState(
109 const content::RenderView* render_view, 112 const content::RenderView* render_view,
110 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; 113 WebKit::WebPageVisibilityState* override_state) const OVERRIDE;
111 virtual bool HandleGetCookieRequest(content::RenderView* sender, 114 virtual bool HandleGetCookieRequest(content::RenderView* sender,
112 const GURL& url, 115 const GURL& url,
113 const GURL& first_party_for_cookies, 116 const GURL& first_party_for_cookies,
114 std::string* cookies) OVERRIDE; 117 std::string* cookies) OVERRIDE;
115 virtual bool HandleSetCookieRequest(content::RenderView* sender, 118 virtual bool HandleSetCookieRequest(content::RenderView* sender,
116 const GURL& url, 119 const GURL& url,
117 const GURL& first_party_for_cookies, 120 const GURL& first_party_for_cookies,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 scoped_ptr<RendererNetPredictor> net_predictor_; 176 scoped_ptr<RendererNetPredictor> net_predictor_;
174 scoped_ptr<SpellCheck> spellcheck_; 177 scoped_ptr<SpellCheck> spellcheck_;
175 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; 178 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_;
176 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 179 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
177 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 180 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
178 }; 181 };
179 182
180 } // namespace chrome 183 } // namespace chrome
181 184
182 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 185 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698