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

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

Issue 1853333003: [BlobAsync] Faster shortcuttin, make renderer controller leaky & alive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabling fast shutdown when transfering blobs Created 4 years, 8 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 c9c13183c9e1bb782912f58906faf1c65be88573..e02d0a21bee3a180da9fbee6bbf824dfad222f4c 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -198,7 +198,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
virtual void AddPendingView() = 0;
virtual void RemovePendingView() = 0;
- // Sets a flag indicating that the process can be abnormally terminated.
+ // Sets a flag indicating that the process can be abnormally terminated. This
+ // will act like a refcounted system so multiple calls with 'false' will need
+ // the same number of calls with 'true' to enable sudden termination.
virtual void SetSuddenTerminationAllowed(bool allowed) = 0;
// Returns true if the process can be abnormally terminated.
virtual bool SuddenTerminationAllowed() const = 0;

Powered by Google App Engine
This is Rietveld 408576698