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: chrome/plugin/plugin_channel_base.h

Issue 119052: Fix browser hang due to plugin deadlock... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 5 #ifndef CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__
6 #define CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 6 #define CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Used to implement message routing functionality to WebPlugin[Delegate] 103 // Used to implement message routing functionality to WebPlugin[Delegate]
104 // objects 104 // objects
105 MessageRouter router_; 105 MessageRouter router_;
106 106
107 // A channel is invalid if it is disconnected as a result of a channel 107 // A channel is invalid if it is disconnected as a result of a channel
108 // error. This flag is used to indicate the same. 108 // error. This flag is used to indicate the same.
109 bool channel_valid_; 109 bool channel_valid_;
110 110
111 // Track whether we're within a dispatch; works like a refcount, 0 when we're 111 // Track whether we're within a dispatch; works like a refcount, 0 when we're
112 // not. 112 // not.
113 int in_dispatch_; 113 static int in_dispatch_;
114 114
115 // If true, sync messages will only be marked as unblocking if the channel is 115 // If true, sync messages will only be marked as unblocking if the channel is
116 // in the middle of dispatching a message. 116 // in the middle of dispatching a message.
117 bool send_unblocking_only_during_dispatch_; 117 bool send_unblocking_only_during_dispatch_;
118 118
119 DISALLOW_EVIL_CONSTRUCTORS(PluginChannelBase); 119 DISALLOW_EVIL_CONSTRUCTORS(PluginChannelBase);
120 }; 120 };
121 121
122 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 122 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/plugin/plugin_channel_base.cc » ('j') | webkit/glue/plugins/test/plugin_windowless_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698