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

Side by Side 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: no deps 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 5 #ifndef CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void OnWorkerCreated(); 57 void OnWorkerCreated();
58 void OnWorkerScriptLoadFailed(); 58 void OnWorkerScriptLoadFailed();
59 void OnWorkerConnected(); 59 void OnWorkerConnected();
60 60
61 // Routing id associated with this worker - used to receive messages from the 61 // Routing id associated with this worker - used to receive messages from the
62 // worker, and also to route messages to the worker (WorkerService contains 62 // worker, and also to route messages to the worker (WorkerService contains
63 // a map that maps between these renderer-side route IDs and worker-side 63 // a map that maps between these renderer-side route IDs and worker-side
64 // routing ids). 64 // routing ids).
65 int route_id_; 65 int route_id_;
66 66
67 // The routing id for the RenderFrame that created this worker.
68 int render_frame_route_id_;
69
70 MessageRouter* const router_; 67 MessageRouter* const router_;
71 68
72 // ID of our parent document (used to shutdown workers when the parent
73 // document is detached).
74 unsigned long long document_id_;
75
76 // Stores messages that were sent before the StartWorkerContext message. 69 // Stores messages that were sent before the StartWorkerContext message.
77 std::vector<IPC::Message*> queued_messages_; 70 std::vector<IPC::Message*> queued_messages_;
78 71
79 // The id for the placeholder worker instance we've stored on the
80 // browser process (we need to pass this same route id back in when creating
81 // the worker).
82 int pending_route_id_;
83 ConnectListener* connect_listener_; 72 ConnectListener* connect_listener_;
84 bool created_; 73 bool created_;
85 74
86 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); 75 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
87 }; 76 };
88 77
89 } // namespace content 78 } // namespace content
90 79
91 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 80 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698