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

Side by Side Diff: content/renderer/websharedworker_proxy.h

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/renderer_accessibility.h ('k') | media/video/capture/win/pin_base_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // The routing id for the RenderView that created this worker. 84 // The routing id for the RenderView that created this worker.
85 int render_view_route_id_; 85 int render_view_route_id_;
86 86
87 ChildThread* child_thread_; 87 ChildThread* child_thread_;
88 88
89 // ID of our parent document (used to shutdown workers when the parent 89 // ID of our parent document (used to shutdown workers when the parent
90 // document is detached). 90 // document is detached).
91 unsigned long long document_id_; 91 unsigned long long document_id_;
92 92
93 // ID of our parent's appcache host, only valid for dedicated workers.
94 int parent_appcache_host_id_;
95
96 // Stores messages that were sent before the StartWorkerContext message. 93 // Stores messages that were sent before the StartWorkerContext message.
97 std::vector<IPC::Message*> queued_messages_; 94 std::vector<IPC::Message*> queued_messages_;
98 95
99 // The id for the placeholder worker instance we've stored on the 96 // The id for the placeholder worker instance we've stored on the
100 // browser process (we need to pass this same route id back in when creating 97 // browser process (we need to pass this same route id back in when creating
101 // the worker). 98 // the worker).
102 int pending_route_id_; 99 int pending_route_id_;
103 ConnectListener* connect_listener_; 100 ConnectListener* connect_listener_;
104 101
105 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); 102 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
106 }; 103 };
107 104
108 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 105 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_accessibility.h ('k') | media/video/capture/win/pin_base_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698