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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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"
11 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "chrome/common/ipc_sync_channel.h"
16 #include "chrome/common/message_router.h" 15 #include "chrome/common/message_router.h"
16 #include "ipc/ipc_sync_channel.h"
17 17
18 // Encapsulates an IPC channel between a renderer and a plugin process. 18 // Encapsulates an IPC channel between a renderer and a plugin process.
19 class PluginChannelBase : public IPC::Channel::Listener, 19 class PluginChannelBase : public IPC::Channel::Listener,
20 public IPC::Message::Sender, 20 public IPC::Message::Sender,
21 public base::RefCountedThreadSafe<PluginChannelBase> { 21 public base::RefCountedThreadSafe<PluginChannelBase> {
22 public: 22 public:
23 virtual ~PluginChannelBase(); 23 virtual ~PluginChannelBase();
24 24
25 // WebPlugin[Delegate] call these on construction and destruction to setup 25 // WebPlugin[Delegate] call these on construction and destruction to setup
26 // the routing and manage lifetime of this object. This is also called by 26 // the routing and manage lifetime of this object. This is also called by
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 int in_dispatch_; 113 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 | « 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