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

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: Rebase + addressed some of Nasko's comments 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;
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily

Powered by Google App Engine
This is Rietveld 408576698