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

Unified Diff: content/renderer/shared_worker/shared_worker_repository.h

Issue 2627123003: SharedWorker: Simplify connection sequence (Closed)
Patch Set: remove unnecessary forward declaration Created 3 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
« no previous file with comments | « no previous file | content/renderer/shared_worker/shared_worker_repository.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/shared_worker/shared_worker_repository.h
diff --git a/content/renderer/shared_worker/shared_worker_repository.h b/content/renderer/shared_worker/shared_worker_repository.h
index b6895911f781eb2e03ee1d344443f0f298055cb2..1628382e1450cfbea978f45ac74452c4c06fbbbb 100644
--- a/content/renderer/shared_worker/shared_worker_repository.h
+++ b/content/renderer/shared_worker/shared_worker_repository.h
@@ -25,7 +25,7 @@ class SharedWorkerRepository final
~SharedWorkerRepository();
// WebSharedWorkerRepositoryClient overrides.
- std::unique_ptr<blink::WebSharedWorkerConnector> createSharedWorkerConnector(
+ void connect(
const blink::WebURL& url,
const blink::WebString& name,
DocumentID document_id,
@@ -33,7 +33,8 @@ class SharedWorkerRepository final
blink::WebContentSecurityPolicyType,
blink::WebAddressSpace,
blink::WebSharedWorkerCreationContextType,
- blink::WebWorkerCreationError* error) override;
+ blink::WebMessagePortChannel* channel,
+ std::unique_ptr<blink::WebSharedWorkerConnectListener> listener) override;
void documentDetached(DocumentID document_id) override;
private:
« no previous file with comments | « no previous file | content/renderer/shared_worker/shared_worker_repository.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698