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

Unified Diff: content/browser/service_worker/service_worker_context_core.h

Issue 137233019: Revert of Start EmbeddedWorker during registration - take 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: content/browser/service_worker/service_worker_context_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index 7f3948db31ace3015d185df26f351ea9f458a6bc..c59ef7cbb1d3fe5ba5bae3a51e98f98d2c967039 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -70,20 +70,14 @@
// The callback will be called on the IO thread.
void RegisterServiceWorker(const GURL& pattern,
const GURL& script_url,
- int source_process_id,
const RegistrationCallback& callback);
// The callback will be called on the IO thread.
void UnregisterServiceWorker(const GURL& pattern,
- int source_process_id,
const UnregistrationCallback& callback);
EmbeddedWorkerRegistry* embedded_worker_registry() {
return embedded_worker_registry_.get();
- }
-
- ServiceWorkerJobCoordinator* job_coordinator() {
- return job_coordinator_.get();
}
private:
@@ -106,8 +100,8 @@
ProcessToProviderMap providers_;
scoped_ptr<ServiceWorkerStorage> storage_;
+ scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_;
scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_;
- scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore);
};

Powered by Google App Engine
This is Rietveld 408576698