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

Side by Side Diff: content/browser/plugin_process_host.h

Issue 25555006: Collect more data to send in crash reports for a crasher that's stumping me. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
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_BROWSER_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <list> 10 #include <list>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // Tracks modal windows currently visible. 182 // Tracks modal windows currently visible.
183 std::set<uint32> plugin_modal_windows_set_; 183 std::set<uint32> plugin_modal_windows_set_;
184 // Tracks the current visibility of the cursor. 184 // Tracks the current visibility of the cursor.
185 bool plugin_cursor_visible_; 185 bool plugin_cursor_visible_;
186 #endif 186 #endif
187 187
188 // Map from render_process_id to its ResourceContext 188 // Map from render_process_id to its ResourceContext
189 typedef std::map<int, ResourceContext*> ResourceContextMap; 189 typedef std::map<int, ResourceContext*> ResourceContextMap;
190 ResourceContextMap resource_context_map_; 190 ResourceContextMap resource_context_map_;
191 191
192 // Debugging http://crbug.com/302530
193 std::set<int> removed_pids_;
194
192 scoped_ptr<BrowserChildProcessHostImpl> process_; 195 scoped_ptr<BrowserChildProcessHostImpl> process_;
193 196
194 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost); 197 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost);
195 }; 198 };
196 199
197 class PluginProcessHostIterator 200 class PluginProcessHostIterator
198 : public BrowserChildProcessHostTypeIterator<PluginProcessHost> { 201 : public BrowserChildProcessHostTypeIterator<PluginProcessHost> {
199 public: 202 public:
200 PluginProcessHostIterator() 203 PluginProcessHostIterator()
201 : BrowserChildProcessHostTypeIterator<PluginProcessHost>( 204 : BrowserChildProcessHostTypeIterator<PluginProcessHost>(
202 PROCESS_TYPE_PLUGIN) {} 205 PROCESS_TYPE_PLUGIN) {}
203 }; 206 };
204 207
205 } // namespace content 208 } // namespace content
206 209
207 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 210 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/plugin_process_host.cc » ('j') | content/browser/plugin_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698