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

Side by Side Diff: components/nacl/renderer/plugin/ppapi_entrypoints.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 "components/nacl/renderer/plugin/ppapi_entrypoints.h" 5 #include "components/nacl/renderer/plugin/ppapi_entrypoints.h"
6 6
7 #include <stdint.h>
8
7 #include "components/nacl/renderer/plugin/module_ppapi.h" 9 #include "components/nacl/renderer/plugin/module_ppapi.h"
8 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/c/pp_module.h" 11 #include "ppapi/c/pp_module.h"
10 #include "ppapi/c/ppb.h" 12 #include "ppapi/c/ppb.h"
11 #include "ppapi/cpp/module.h" 13 #include "ppapi/cpp/module.h"
12 #include "ppapi/cpp/private/internal_module.h" 14 #include "ppapi/cpp/private/internal_module.h"
13 15
14 namespace nacl_plugin { 16 namespace nacl_plugin {
15 17
16 int32_t PPP_InitializeModule(PP_Module module_id, 18 int32_t PPP_InitializeModule(PP_Module module_id,
(...skipping 13 matching lines...) Expand all
30 pp::InternalSetModuleSingleton(NULL); 32 pp::InternalSetModuleSingleton(NULL);
31 } 33 }
32 34
33 const void* PPP_GetInterface(const char* interface_name) { 35 const void* PPP_GetInterface(const char* interface_name) {
34 if (!pp::Module::Get()) 36 if (!pp::Module::Get())
35 return NULL; 37 return NULL;
36 return pp::Module::Get()->GetPluginInterface(interface_name); 38 return pp::Module::Get()->GetPluginInterface(interface_name);
37 } 39 }
38 40
39 } // namespace nacl_plugin 41 } // namespace nacl_plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/pnacl_translate_thread.cc ('k') | components/nacl/renderer/plugin/service_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698