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

Unified Diff: content/browser/browser_child_process_host_impl.h

Issue 14137016: Lower the priority of shared workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved visible check into worker_service_impl. Created 7 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/browser/browser_child_process_host_impl.h
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
index e3fdcb57c1eca5dff355302d22cb4c531c44d033..7361d77d5331f4e57aa5b34c4ca704ad15bd1c91 100644
--- a/content/browser/browser_child_process_host_impl.h
+++ b/content/browser/browser_child_process_host_impl.h
@@ -61,6 +61,8 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
void ForceShutdown();
+ void SetBackgrounded(bool backgrounded);
jam 2013/05/09 18:02:57 nit: please document
shatch 2013/05/09 22:42:49 Done.
+
// Controls whether the child process should be terminated on browser
// shutdown. Default is to always terminate.
void SetTerminateChildOnShutdown(bool terminate_on_shutdown);
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | content/browser/worker_host/worker_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698