Index: content/browser/shared_worker/shared_worker_service_impl.h |
diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h |
index 4d5d8a0258841a627fa4e2d36d8ce25282c88937..9b4350e472588fbeb85e17bbe63c1717a576bb88 100644 |
--- a/content/browser/shared_worker/shared_worker_service_impl.h |
+++ b/content/browser/shared_worker/shared_worker_service_impl.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_vector.h" |
#include "base/memory/singleton.h" |
#include "base/observer_list.h" |
#include "content/public/browser/notification_observer.h" |
@@ -20,6 +21,8 @@ class Message; |
namespace content { |
+class SharedWorkerInstance; |
+class SharedWorkerHost; |
class SharedWorkerMessageFilter; |
class ResourceContext; |
class WorkerServiceObserver; |
@@ -88,6 +91,13 @@ class CONTENT_EXPORT SharedWorkerServiceImpl |
SharedWorkerServiceImpl(); |
virtual ~SharedWorkerServiceImpl(); |
+ SharedWorkerInstance* FindSharedWorkerInstance( |
+ const GURL& url, |
+ const base::string16& name, |
+ const WorkerStoragePartition& worker_partition, |
+ ResourceContext* resource_context); |
+ |
+ ScopedVector<SharedWorkerHost> worker_hosts_; |
ObserverList<WorkerServiceObserver> observers_; |
DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); |