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

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

Issue 1014623002: Revert "Refactor sudden termination" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + fixed compilation error Created 5 years, 9 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/common/frame_messages.h ('k') | content/public/test/mock_render_process_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 ed3724eba24d82adf2535d9ecf075119efd96018..7f747e830478a3e5dd0a8359eba49cb3c09ca494 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -189,7 +189,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
virtual void AddPendingView() = 0;
virtual void RemovePendingView() = 0;
- // Returns true if the process can be immediately terminated.
+ // Sets a flag indicating that the process can be abnormally terminated.
+ virtual void SetSuddenTerminationAllowed(bool allowed) = 0;
+ // Returns true if the process can be abnormally terminated.
virtual bool SuddenTerminationAllowed() const = 0;
// Returns how long the child has been idle. The definition of idle
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698