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

Side by Side Diff: content/plugin/plugin_channel.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/npobject_util.cc ('k') | content/plugin/plugin_channel.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
6 #define CHROME_PLUGIN_PLUGIN_CHANNEL_H_ 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "base/scoped_handle.h" 11 #include "base/scoped_handle.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/plugin/plugin_channel_base.h" 13 #include "content/plugin/plugin_channel_base.h"
14 #include "chrome/plugin/webplugin_delegate_stub.h" 14 #include "content/plugin/webplugin_delegate_stub.h"
15 15
16 namespace base { 16 namespace base {
17 class WaitableEvent; 17 class WaitableEvent;
18 } 18 }
19 19
20 // Encapsulates an IPC channel between the plugin process and one renderer 20 // Encapsulates an IPC channel between the plugin process and one renderer
21 // process. On the renderer side there's a corresponding PluginChannelHost. 21 // process. On the renderer side there's a corresponding PluginChannelHost.
22 class PluginChannel : public PluginChannelBase { 22 class PluginChannel : public PluginChannelBase {
23 public: 23 public:
24 // Get a new PluginChannel object for the current process to talk to the 24 // Get a new PluginChannel object for the current process to talk to the
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 int renderer_id_; 89 int renderer_id_;
90 90
91 int in_send_; // Tracks if we're in a Send call. 91 int in_send_; // Tracks if we're in a Send call.
92 bool log_messages_; // True if we should log sent and received messages. 92 bool log_messages_; // True if we should log sent and received messages.
93 bool incognito_; // True if the renderer is in incognito mode. 93 bool incognito_; // True if the renderer is in incognito mode.
94 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. 94 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events.
95 95
96 DISALLOW_COPY_AND_ASSIGN(PluginChannel); 96 DISALLOW_COPY_AND_ASSIGN(PluginChannel);
97 }; 97 };
98 98
99 #endif // CHROME_PLUGIN_PLUGIN_CHANNEL_H_ 99 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_
OLDNEW
« no previous file with comments | « content/plugin/npobject_util.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698