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

Unified Diff: content/public/browser/content_browser_client.h

Issue 233353003: Only commit cookie changes in prerenders after a prerender is shown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync @269781 + 'autlock'->'autolock' from erik's comment that was not included before Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 269781)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -234,6 +234,10 @@
virtual bool IsSuitableHost(RenderProcessHost* process_host,
const GURL& site_url);
+ // Returns whether a new view for a new site instance can be added to a
+ // given |process_host|.
+ virtual bool MayReuseHost(RenderProcessHost* process_host);
+
// Returns whether a new process should be created or an existing one should
// be reused based on the URL we want to load. This should return false,
// unless there is a good reason otherwise.
@@ -626,7 +630,7 @@
// if the default cookie store should be used
// This is called on the IO thread.
virtual net::CookieStore* OverrideCookieStoreForRenderProcess(
- int render_process_id_);
+ int render_process_id);
#if defined(VIDEO_HOLE)
// Allows an embedder to provide its own ExternalVideoSurfaceContainer
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698