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

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

Issue 140743012: Start EmbeddedWorker during registration - take 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up log messages, tests Created 6 years, 11 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/embedded_worker_registry.h
diff --git a/content/browser/service_worker/embedded_worker_registry.h b/content/browser/service_worker/embedded_worker_registry.h
index f7c40cdf9602b9875b5b55bd4f988ff02eeccfc2..63771d285a7aa9885ff3d44a403956c0cd5cc0a6 100644
--- a/content/browser/service_worker/embedded_worker_registry.h
+++ b/content/browser/service_worker/embedded_worker_registry.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_SERVICE_WORKER_EMBEDDED_WORKER_REGISTRY_H_
#include <map>
+#include <set>
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -84,7 +85,7 @@ class CONTENT_EXPORT EmbeddedWorkerRegistry
// Map from process_id to embedded_worker_id.
// This map only contains running workers.
- std::map<int, int> worker_process_map_;
+ std::map<int, std::set<int> > worker_process_map_;
kinuko 2014/02/04 03:37:53 gotcha, thx for fixing
int next_embedded_worker_id_;

Powered by Google App Engine
This is Rietveld 408576698