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

Side by Side Diff: ppapi/proxy/host_dispatcher.h

Issue 7706011: Use precompiled headers for most large projects. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@master
Patch Set: Merge to lkgr. Created 9 years, 3 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 | « net/net.gyp ('k') | ppapi/proxy/host_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_PROXY_HOST_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_HOST_DISPATCHER_H_
6 #define PPAPI_PROXY_HOST_DISPATCHER_H_ 6 #define PPAPI_PROXY_HOST_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual bool Send(IPC::Message* msg); 73 virtual bool Send(IPC::Message* msg);
74 74
75 // IPC::Channel::Listener. 75 // IPC::Channel::Listener.
76 virtual bool OnMessageReceived(const IPC::Message& msg); 76 virtual bool OnMessageReceived(const IPC::Message& msg);
77 virtual void OnChannelError(); 77 virtual void OnChannelError();
78 78
79 // Proxied version of calling GetInterface on the plugin. This will check 79 // Proxied version of calling GetInterface on the plugin. This will check
80 // if the plugin supports the given interface (with caching) and returns the 80 // if the plugin supports the given interface (with caching) and returns the
81 // pointer to the proxied interface if it is supported. Returns NULL if the 81 // pointer to the proxied interface if it is supported. Returns NULL if the
82 // given interface isn't supported by the plugin or the proxy. 82 // given interface isn't supported by the plugin or the proxy.
83 const void* GetProxiedInterface(const std::string& interface); 83 const void* GetProxiedInterface(const std::string& proxied_interface);
84 84
85 // Returns the proxy object associated with the given interface ID, creating 85 // Returns the proxy object associated with the given interface ID, creating
86 // it if necessary. This is used in cases where a proxy needs to access code 86 // it if necessary. This is used in cases where a proxy needs to access code
87 // in the proxy for another interface. It's assumed that the interface always 87 // in the proxy for another interface. It's assumed that the interface always
88 // exists, so this is only used for browser proxies. 88 // exists, so this is only used for browser proxies.
89 // 89 //
90 // Will return NULL if an interface isn't supported. 90 // Will return NULL if an interface isn't supported.
91 InterfaceProxy* GetOrCreatePPBInterfaceProxy(InterfaceID id); 91 InterfaceProxy* GetOrCreatePPBInterfaceProxy(InterfaceID id);
92 92
93 // See the value below. Call this when processing a scripting message from 93 // See the value below. Call this when processing a scripting message from
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 private: 149 private:
150 HostDispatcher* dispatcher_; 150 HostDispatcher* dispatcher_;
151 151
152 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference); 152 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference);
153 }; 153 };
154 154
155 } // namespace proxy 155 } // namespace proxy
156 } // namespace ppapi 156 } // namespace ppapi
157 157
158 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_ 158 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698