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

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

Issue 88503002: Have the unload event execute in background on cross-site navigations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests Created 6 years, 11 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/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 436108a398bd7eef071a9c1001d6ea0d2d75804d..3f93bcd8717ef835fcfc830bb023d60cc343c9c0 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -29,6 +29,7 @@ class BrowserMessageFilter;
class RenderProcessHostObserver;
class RenderWidgetHost;
class StoragePartition;
+struct GlobalRequestID;
typedef base::Thread* (*RendererMainThreadFactoryFunction)(
const std::string& id);
@@ -217,6 +218,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
virtual void DisableAecDump() = 0;
#endif
+ // Tells the ResourceDispatcherHost to resume a deferred navigation without
+ // transferring it to a new renderer process.
+ virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0;
nasko 2014/01/23 23:34:58 Why is this a public method now? I don't see anyon
clamy 2014/01/24 17:01:54 The method used to be in RenderProcessHostImpl, wh
jam 2014/02/04 23:42:37 This is an unfortunate side effect of having the p
clamy 2014/02/05 14:21:42 I think I will leave it as it is now, as this is a
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily

Powered by Google App Engine
This is Rietveld 408576698