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

Side by Side Diff: ppapi/nacl_irt/irt_manifest.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 unified diff | Download patch
« no previous file with comments | « ppapi/nacl_irt/irt_interfaces.h ('k') | ppapi/nacl_irt/irt_pnacl_translator_compile.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef PPAPI_NACL_IRT_IRT_MANIFEST_H_ 5 #ifndef PPAPI_NACL_IRT_IRT_MANIFEST_H_
6 #define PPAPI_NACL_IRT_IRT_MANIFEST_H_ 6 #define PPAPI_NACL_IRT_IRT_MANIFEST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "build/build_config.h"
11 #include "ppapi/proxy/ppapi_proxy_export.h" 12 #include "ppapi/proxy/ppapi_proxy_export.h"
12 13
13 namespace ppapi { 14 namespace ppapi {
14 15
15 // The implementation of irt_open_resource() based on ManifestService. 16 // The implementation of irt_open_resource() based on ManifestService.
16 // This communicates with the renderer process via Chrome IPC to obtain the 17 // This communicates with the renderer process via Chrome IPC to obtain the
17 // read-only file descriptor of the resource specified in the manifest file 18 // read-only file descriptor of the resource specified in the manifest file
18 // with the key |file| in files section. Returns 0 on success, or error number 19 // with the key |file| in files section. Returns 0 on success, or error number
19 // on failure. See also irt_open_resource()'s comment. 20 // on failure. See also irt_open_resource()'s comment.
20 PPAPI_PROXY_EXPORT int IrtOpenResource(const char* file, int* fd); 21 PPAPI_PROXY_EXPORT int IrtOpenResource(const char* file, int* fd);
21 22
22 #if !defined(OS_NACL_SFI) 23 #if !defined(OS_NACL_SFI)
23 PPAPI_PROXY_EXPORT void RegisterPreopenedDescriptorsNonSfi( 24 PPAPI_PROXY_EXPORT void RegisterPreopenedDescriptorsNonSfi(
24 std::map<std::string, int>* key_fd_map); 25 std::map<std::string, int>* key_fd_map);
25 #endif 26 #endif
26 27
27 } // namespace ppapi 28 } // namespace ppapi
28 29
29 #endif // PPAPI_NACL_IRT_IRT_MANIFEST_H_ 30 #endif // PPAPI_NACL_IRT_IRT_MANIFEST_H_
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/irt_interfaces.h ('k') | ppapi/nacl_irt/irt_pnacl_translator_compile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698