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

Unified Diff: content/browser/worker_host/worker_service_impl.h

Issue 10910207: Remove flags for Workers that violate multiple profile and storage isolation assumptions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with ToT Created 8 years, 3 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/worker_host/worker_service_impl.h
diff --git a/content/browser/worker_host/worker_service_impl.h b/content/browser/worker_host/worker_service_impl.h
index c87192a108435b5a0cc6a765a61682461dac3028..a81b7749770d25356113066dcdb777b2b6f245c1 100644
--- a/content/browser/worker_host/worker_service_impl.h
+++ b/content/browser/worker_host/worker_service_impl.h
@@ -72,9 +72,6 @@ class CONTENT_EXPORT WorkerServiceImpl
WorkerProcessHost* process,
int worker_route_id);
- // Used when multiple workers can run in the same process.
- static const int kMaxWorkerProcessesWhenSharing;
-
// Used when we run each worker in a separate process.
static const int kMaxWorkersWhenSeparate;
static const int kMaxWorkersPerTabWhenSeparate;
@@ -88,18 +85,6 @@ class CONTENT_EXPORT WorkerServiceImpl
// Given a WorkerInstance, create an associated worker process.
bool CreateWorkerFromInstance(WorkerProcessHost::WorkerInstance instance);
- // Returns a WorkerProcessHost object if one exists for the given domain, or
- // NULL if there are no such workers yet.
- WorkerProcessHost* GetProcessForDomain(const GURL& url);
-
- // Returns a WorkerProcessHost based on a strategy of creating one worker per
- // core.
- WorkerProcessHost* GetProcessToFillUpCores();
-
- // Returns the WorkerProcessHost from the existing set that has the least
- // number of worker instance running.
- WorkerProcessHost* GetLeastLoadedWorker();
-
// Checks if we can create a worker process based on the process limit when
// we're using a strategy of one process per core.
bool CanCreateWorkerProcess(
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/browser/worker_host/worker_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698