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

Unified Diff: chrome/browser/worker_host/worker_service.h

Issue 580007: Changed CreateWorker to coalesce any matching queued shared workers when a (Closed)
Patch Set: Now supports multiple queued instances of one shared worker. Created 10 years, 10 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 | « chrome/browser/worker_host/worker_process_host.cc ('k') | chrome/browser/worker_host/worker_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/worker_host/worker_service.h
diff --git a/chrome/browser/worker_host/worker_service.h b/chrome/browser/worker_host/worker_service.h
index eec45a05c5673bb095140c4debd4e7751adc8eef..97891b5944f77bb9677b6de0334788113d900634 100644
--- a/chrome/browser/worker_host/worker_service.h
+++ b/chrome/browser/worker_host/worker_service.h
@@ -87,6 +87,9 @@ class WorkerService : public NotificationObserver {
WorkerService();
~WorkerService();
+ // 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);
@@ -126,7 +129,7 @@ class WorkerService : public NotificationObserver {
const GURL& url, const string16& name, bool off_the_record);
WorkerProcessHost::WorkerInstance* FindPendingInstance(
const GURL& url, const string16& name, bool off_the_record);
- void RemovePendingInstance(
+ void RemovePendingInstances(
const GURL& url, const string16& name, bool off_the_record);
NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/worker_host/worker_process_host.cc ('k') | chrome/browser/worker_host/worker_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698