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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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 | « ppapi/proxy/interface_proxy.h ('k') | ppapi/proxy/plugin_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_PLUGIN_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_DISPATCHER_H_
6 #define PPAPI_PROXY_PLUGIN_DISPATCHER_H_ 6 #define PPAPI_PROXY_PLUGIN_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Returns the WebKitForwarding object used to forward events to WebKit. 129 // Returns the WebKitForwarding object used to forward events to WebKit.
130 WebKitForwarding* GetWebKitForwarding(); 130 WebKitForwarding* GetWebKitForwarding();
131 131
132 // Returns the Preferences. 132 // Returns the Preferences.
133 const Preferences& preferences() const { return preferences_; } 133 const Preferences& preferences() const { return preferences_; }
134 134
135 // Returns the "new-style" function API for the given interface ID, creating 135 // Returns the "new-style" function API for the given interface ID, creating
136 // it if necessary. 136 // it if necessary.
137 // TODO(brettw) this is in progress. It should be merged with the target 137 // TODO(brettw) this is in progress. It should be merged with the target
138 // proxies so there is one list to consult. 138 // proxies so there is one list to consult.
139 FunctionGroupBase* GetFunctionAPI(InterfaceID id); 139 FunctionGroupBase* GetFunctionAPI(ApiID id);
140 140
141 uint32 plugin_dispatcher_id() const { return plugin_dispatcher_id_; } 141 uint32 plugin_dispatcher_id() const { return plugin_dispatcher_id_; }
142 142
143 private: 143 private:
144 friend class PluginDispatcherTest; 144 friend class PluginDispatcherTest;
145 145
146 // Notifies all live instances that they're now closed. This is used when 146 // Notifies all live instances that they're now closed. This is used when
147 // a renderer crashes or some other error is received. 147 // a renderer crashes or some other error is received.
148 void ForceFreeAllInstances(); 148 void ForceFreeAllInstances();
149 149
(...skipping 20 matching lines...) Expand all
170 170
171 uint32 plugin_dispatcher_id_; 171 uint32 plugin_dispatcher_id_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher); 173 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher);
174 }; 174 };
175 175
176 } // namespace proxy 176 } // namespace proxy
177 } // namespace ppapi 177 } // namespace ppapi
178 178
179 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_ 179 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_proxy.h ('k') | ppapi/proxy/plugin_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698