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

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: Added sudden shutdown protection in renderer 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
« no previous file with comments | « content/child/webblobregistry_impl.cc ('k') | storage/browser/blob/blob_async_builder_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
michaeln 2016/04/06 01:03:46 comment shouldn't change since the impl in render_
dmurph 2016/04/06 01:45:40 Whoops, done, thanks.
virtual void SetSuddenTerminationAllowed(bool allowed) = 0;
// Returns true if the process can be abnormally terminated.
virtual bool SuddenTerminationAllowed() const = 0;
« no previous file with comments | « content/child/webblobregistry_impl.cc ('k') | storage/browser/blob/blob_async_builder_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698