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

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

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « content/plugin/plugin_channel.cc ('k') | content/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_PLUGIN_PLUGIN_CHANNEL_BASE_H_ 5 #ifndef CONTENT_PLUGIN_PLUGIN_CHANNEL_BASE_H_
6 #define CHROME_PLUGIN_PLUGIN_CHANNEL_BASE_H_ 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/hash_tables.h" 12 #include "base/hash_tables.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/ref_counted.h" 14 #include "base/ref_counted.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "chrome/plugin/npobject_base.h"
17 #include "content/common/message_router.h" 16 #include "content/common/message_router.h"
17 #include "content/plugin/npobject_base.h"
18 #include "ipc/ipc_channel_handle.h" 18 #include "ipc/ipc_channel_handle.h"
19 #include "ipc/ipc_sync_channel.h" 19 #include "ipc/ipc_sync_channel.h"
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 21
22 // Encapsulates an IPC channel between a renderer and a plugin process. 22 // Encapsulates an IPC channel between a renderer and a plugin process.
23 class PluginChannelBase : public IPC::Channel::Listener, 23 class PluginChannelBase : public IPC::Channel::Listener,
24 public IPC::Message::Sender, 24 public IPC::Message::Sender,
25 public base::RefCountedThreadSafe<PluginChannelBase> { 25 public base::RefCountedThreadSafe<PluginChannelBase> {
26 public: 26 public:
27 27
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // sent as a result of a sync call from the renderer must unblock the 139 // sent as a result of a sync call from the renderer must unblock the
140 // renderer. We additionally have to do this for async messages from the 140 // renderer. We additionally have to do this for async messages from the
141 // renderer that have the unblock flag set, since they could be followed by a 141 // renderer that have the unblock flag set, since they could be followed by a
142 // sync message that won't get dispatched until the call to the renderer is 142 // sync message that won't get dispatched until the call to the renderer is
143 // complete. 143 // complete.
144 bool send_unblocking_only_during_unblock_dispatch_; 144 bool send_unblocking_only_during_unblock_dispatch_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(PluginChannelBase); 146 DISALLOW_COPY_AND_ASSIGN(PluginChannelBase);
147 }; 147 };
148 148
149 #endif // CHROME_PLUGIN_PLUGIN_CHANNEL_BASE_H_ 149 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_BASE_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_channel.cc ('k') | content/plugin/plugin_channel_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698