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

Side by Side Diff: ppapi/proxy/interface_list.cc

Issue 7887001: s patch tries to remove most of the manual registration for Pepper interfaces, and replaces it wi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/interface_list.h ('k') | ppapi/proxy/interface_proxy.h » ('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 #include "ppapi/proxy/interface_list.h" 5 #include "ppapi/proxy/interface_list.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "ppapi/c/dev/ppb_buffer_dev.h" 8 #include "ppapi/c/dev/ppb_buffer_dev.h"
9 #include "ppapi/c/dev/ppb_char_set_dev.h" 9 #include "ppapi/c/dev/ppb_char_set_dev.h"
10 #include "ppapi/c/dev/ppb_console_dev.h" 10 #include "ppapi/c/dev/ppb_console_dev.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 AddPPB(info->name, info->id, info->interface_ptr); 287 AddPPB(info->name, info->id, info->interface_ptr);
288 } 288 }
289 289
290 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { 290 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) {
291 AddProxy(info->id, info->create_proxy); 291 AddProxy(info->id, info->create_proxy);
292 AddPPP(info->name, info->id, info->interface_ptr); 292 AddPPP(info->name, info->id, info->interface_ptr);
293 } 293 }
294 294
295 } // namespace proxy 295 } // namespace proxy
296 } // namespace ppapi 296 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.h ('k') | ppapi/proxy/interface_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698