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

Side by Side Diff: ppapi/shared_impl/ppb_crypto_shared.cc

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 unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_audio_shared.h ('k') | ppapi/shared_impl/ppb_device_ref_shared.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdint.h>
6
5 #include "base/rand_util.h" 7 #include "base/rand_util.h"
6 #include "ppapi/c/dev/ppb_crypto_dev.h" 8 #include "ppapi/c/dev/ppb_crypto_dev.h"
7 #include "ppapi/thunk/thunk.h" 9 #include "ppapi/thunk/thunk.h"
8 10
9 // The crypto interface doesn't have a normal C -> C++ thunk since it doesn't 11 // The crypto interface doesn't have a normal C -> C++ thunk since it doesn't
10 // actually have any proxy wrapping or associated objects; it's just a call 12 // actually have any proxy wrapping or associated objects; it's just a call
11 // into base. So we implement the entire interface here, using the thunk 13 // into base. So we implement the entire interface here, using the thunk
12 // namespace so it magically gets hooked up in the proper places. 14 // namespace so it magically gets hooked up in the proper places.
13 15
14 namespace ppapi { 16 namespace ppapi {
(...skipping 10 matching lines...) Expand all
25 27
26 namespace thunk { 28 namespace thunk {
27 29
28 PPAPI_THUNK_EXPORT const PPB_Crypto_Dev_0_1* GetPPB_Crypto_Dev_0_1_Thunk() { 30 PPAPI_THUNK_EXPORT const PPB_Crypto_Dev_0_1* GetPPB_Crypto_Dev_0_1_Thunk() {
29 return &crypto_interface; 31 return &crypto_interface;
30 } 32 }
31 33
32 } // namespace thunk 34 } // namespace thunk
33 35
34 } // namespace ppapi 36 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_audio_shared.h ('k') | ppapi/shared_impl/ppb_device_ref_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698