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

Unified Diff: content/renderer/websharedworker_proxy.h

Issue 1575763002: Make `content` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_disallow_copy_assign_linux_only
Patch Set: fix unit test Created 4 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 | « content/renderer/shared_worker_repository.cc ('k') | content/renderer/websharedworker_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/websharedworker_proxy.h
diff --git a/content/renderer/websharedworker_proxy.h b/content/renderer/websharedworker_proxy.h
index 276f956d2dad90ebb3164cc61b0be303086f477a..a413c39c6e50087d7da838dd06a85cdca6026c8d 100644
--- a/content/renderer/websharedworker_proxy.h
+++ b/content/renderer/websharedworker_proxy.h
@@ -28,9 +28,7 @@ class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector,
public:
// If the worker not loaded yet, route_id == MSG_ROUTING_NONE
WebSharedWorkerProxy(MessageRouter* router,
- unsigned long long document_id,
- int route_id,
- int render_frame_route_id);
+ int route_id);
~WebSharedWorkerProxy() override;
// Implementations of WebSharedWorkerConnector APIs
@@ -64,22 +62,11 @@ class WebSharedWorkerProxy : public blink::WebSharedWorkerConnector,
// routing ids).
int route_id_;
- // The routing id for the RenderFrame that created this worker.
- int render_frame_route_id_;
-
MessageRouter* const router_;
- // ID of our parent document (used to shutdown workers when the parent
- // document is detached).
- unsigned long long document_id_;
-
// Stores messages that were sent before the StartWorkerContext message.
std::vector<IPC::Message*> queued_messages_;
- // The id for the placeholder worker instance we've stored on the
- // browser process (we need to pass this same route id back in when creating
- // the worker).
- int pending_route_id_;
ConnectListener* connect_listener_;
bool created_;
« no previous file with comments | « content/renderer/shared_worker_repository.cc ('k') | content/renderer/websharedworker_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698