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

Unified Diff: ppapi/thunk/ppb_instance_api.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | ppapi/thunk/ppb_isolated_file_system_private_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_instance_api.h
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h
index f4c9d0d9079fb9b9107d3ba6c113d95fe694e302..3657c878e1607c1f37e8cbb4e152e75ddd43a0fa 100644
--- a/ppapi/thunk/ppb_instance_api.h
+++ b/ppapi/thunk/ppb_instance_api.h
@@ -5,8 +5,11 @@
#ifndef PPAPI_THUNK_INSTANCE_API_H_
#define PPAPI_THUNK_INSTANCE_API_H_
+#include <stdint.h>
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "build/build_config.h"
#include "ppapi/c/dev/ppb_url_util_dev.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_completion_callback.h"
@@ -148,14 +151,14 @@ class PPB_Instance_API {
PP_URLComponents_Dev* components) = 0;
#if !defined(OS_NACL)
// Content Decryptor.
- virtual void PromiseResolved(PP_Instance instance, uint32 promise_id) = 0;
+ virtual void PromiseResolved(PP_Instance instance, uint32_t promise_id) = 0;
virtual void PromiseResolvedWithSession(PP_Instance instance,
- uint32 promise_id,
+ uint32_t promise_id,
PP_Var session_id_var) = 0;
virtual void PromiseRejected(PP_Instance instance,
- uint32 promise_id,
+ uint32_t promise_id,
PP_CdmExceptionCode exception_code,
- uint32 system_code,
+ uint32_t system_code,
PP_Var error_description_var) = 0;
virtual void SessionMessage(PP_Instance instance,
PP_Var session_id_var,
@@ -175,7 +178,7 @@ class PPB_Instance_API {
virtual void LegacySessionError(PP_Instance instance,
PP_Var session_id_var,
PP_CdmExceptionCode exception_code,
- uint32 system_code,
+ uint32_t system_code,
PP_Var error_description_var) = 0;
virtual void DeliverBlock(PP_Instance instance,
PP_Resource decrypted_block,
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | ppapi/thunk/ppb_isolated_file_system_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698