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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.h

Issue 258513002: Introduce WorkerStoragePartitionId and use it in SharedWorkerInstance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold WorkerStoragePartition in SharedWorkerMessageFilter Created 6 years, 8 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/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 50e71062fa85531210f278ec8c800bb47c38ee1d..e97c259493eb9b611f7fb2a85b68cb003c3bab1f 100644
--- a/content/browser/shared_worker/shared_worker_service_impl.h
+++ b/content/browser/shared_worker/shared_worker_service_impl.h
@@ -29,7 +29,7 @@ class SharedWorkerHost;
class SharedWorkerMessageFilter;
class ResourceContext;
class WorkerServiceObserver;
-class WorkerStoragePartition;
+class WorkerStoragePartitionId;
// If "enable-embedded-shared-worker" is set this class will be used instead of
// WorkerServiceImpl.
@@ -51,7 +51,7 @@ class CONTENT_EXPORT SharedWorkerServiceImpl
int route_id,
SharedWorkerMessageFilter* filter,
ResourceContext* resource_context,
- const WorkerStoragePartition& worker_partition,
+ const WorkerStoragePartitionId& partition_id,
bool* url_mismatch);
void ForwardToWorker(const IPC::Message& message,
SharedWorkerMessageFilter* filter);

Powered by Google App Engine
This is Rietveld 408576698