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

Side by Side Diff: content/renderer/java/java_bridge_channel.h

Issue 19462016: Move npapi related files from content\child to the new content\child\npapi directory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/java/java_bridge_dispatcher.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) 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_JAVA_JAVA_BRIDGE_CHANNEL_H_ 5 #ifndef CONTENT_RENDERER_JAVA_JAVA_BRIDGE_CHANNEL_H_
6 #define CONTENT_RENDERER_JAVA_JAVA_BRIDGE_CHANNEL_H_ 6 #define CONTENT_RENDERER_JAVA_JAVA_BRIDGE_CHANNEL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/child/np_channel_base.h" 9 #include "content/child/npapi/np_channel_base.h"
10 #include "ipc/ipc_channel_handle.h" 10 #include "ipc/ipc_channel_handle.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class JavaBridgeChannel : public content::NPChannelBase { 14 class JavaBridgeChannel : public content::NPChannelBase {
15 public: 15 public:
16 // The return value may be null. 16 // The return value may be null.
17 static JavaBridgeChannel* GetJavaBridgeChannel( 17 static JavaBridgeChannel* GetJavaBridgeChannel(
18 const IPC::ChannelHandle& channel_handle, 18 const IPC::ChannelHandle& channel_handle,
19 base::MessageLoopProxy* ipc_message_loop); 19 base::MessageLoopProxy* ipc_message_loop);
(...skipping 14 matching lines...) Expand all
34 // Dummy NPObject owner Id used to track objects owned by the JavaBridge 34 // Dummy NPObject owner Id used to track objects owned by the JavaBridge
35 // peer in the Browser process. 35 // peer in the Browser process.
36 scoped_ptr<struct _NPP> peer_owner_id_; 36 scoped_ptr<struct _NPP> peer_owner_id_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannel); 38 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannel);
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_RENDERER_JAVA_JAVA_BRIDGE_CHANNEL_H_ 43 #endif // CONTENT_RENDERER_JAVA_JAVA_BRIDGE_CHANNEL_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/java/java_bridge_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698