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

Side by Side Diff: content/renderer/plugin_channel_host.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ 5 #ifndef CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_
6 #define CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ 6 #define CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "content/common/np_channel_base.h" 9 #include "content/common/np_channel_base.h"
10 #include "ipc/ipc_channel_handle.h" 10 #include "ipc/ipc_channel_handle.h"
11 11
12 class NPObjectBase;
13
14 namespace content {
12 class IsListeningFilter; 15 class IsListeningFilter;
13 class NPObjectBase;
14 16
15 // Encapsulates an IPC channel between the renderer and one plugin process. 17 // Encapsulates an IPC channel between the renderer and one plugin process.
16 // On the plugin side there's a corresponding PluginChannel. 18 // On the plugin side there's a corresponding PluginChannel.
17 class PluginChannelHost : public NPChannelBase { 19 class PluginChannelHost : public NPChannelBase {
18 public: 20 public:
19 #if defined(OS_MACOSX) 21 #if defined(OS_MACOSX)
20 // TODO(shess): Debugging for http://crbug.com/97285 . See comment 22 // TODO(shess): Debugging for http://crbug.com/97285 . See comment
21 // in plugin_channel_host.cc. 23 // in plugin_channel_host.cc.
22 static bool* GetRemoveTrackingFlag(); 24 static bool* GetRemoveTrackingFlag();
23 #endif 25 #endif
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // used when the JS debugger is attached in order to avoid browser hangs. 73 // used when the JS debugger is attached in order to avoid browser hangs.
72 scoped_refptr<IsListeningFilter> is_listening_filter_; 74 scoped_refptr<IsListeningFilter> is_listening_filter_;
73 75
74 // True if we are expecting the plugin process to go away - in which case, 76 // True if we are expecting the plugin process to go away - in which case,
75 // don't treat it as a crash. 77 // don't treat it as a crash.
76 bool expecting_shutdown_; 78 bool expecting_shutdown_;
77 79
78 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost); 80 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost);
79 }; 81 };
80 82
83 } // namespace content
84
81 #endif // CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ 85 #endif // CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d_impl.h ('k') | content/renderer/plugin_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698