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

Unified Diff: trunk/src/content/browser/worker_host/worker_process_host.h

Issue 15465006: Revert 200932 "Lower the priority of shared workers that aren't ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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: trunk/src/content/browser/worker_host/worker_process_host.h
===================================================================
--- trunk/src/content/browser/worker_host/worker_process_host.h (revision 201089)
+++ trunk/src/content/browser/worker_host/worker_process_host.h (working copy)
@@ -158,9 +158,6 @@
// Terminates the given worker, i.e. based on a UI action.
CONTENT_EXPORT void TerminateWorker(int worker_route_id);
- // Callers can reduce the WorkerProcess' priority.
- void SetBackgrounded(bool backgrounded);
-
CONTENT_EXPORT const ChildProcessData& GetData();
typedef std::list<WorkerInstance> Instances;
@@ -170,8 +167,6 @@
return resource_context_;
}
- bool process_launched() const;
-
protected:
friend class WorkerServiceImpl;
@@ -226,7 +221,6 @@
scoped_refptr<WorkerMessageFilter> worker_message_filter_;
scoped_ptr<BrowserChildProcessHostImpl> process_;
- bool process_launched_;
DISALLOW_COPY_AND_ASSIGN(WorkerProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698