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

Side by Side Diff: chrome/plugin/plugin_channel_base.h

Issue 79020: linux (and some posix): multiprocess plugins compiling. (Closed)
Patch Set: rebased Created 11 years, 8 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
« no previous file with comments | « chrome/plugin/plugin_channel.cc ('k') | chrome/plugin/plugin_channel_base.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) 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ListenerMap npobject_listeners_; 101 ListenerMap npobject_listeners_;
102 102
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
112 // not.
113 int in_dispatch_;
114
111 // 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
112 // in the middle of dispatching a message. 116 // in the middle of dispatching a message.
113 bool send_unblocking_only_during_dispatch_; 117 bool send_unblocking_only_during_dispatch_;
114 int in_dispatch_;
115 118
116 DISALLOW_EVIL_CONSTRUCTORS(PluginChannelBase); 119 DISALLOW_EVIL_CONSTRUCTORS(PluginChannelBase);
117 }; 120 };
118 121
119 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__ 122 #endif // CHROME_WEBKIT_GLUE_PLUGIN_CHANNEL_BASE_H__
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_channel.cc ('k') | chrome/plugin/plugin_channel_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698