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

Side by Side Diff: ppapi/nacl_irt/irt_manifest.h

Issue 249183004: Implement open_resource in non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/nacl_irt/DEPS ('k') | ppapi/nacl_irt/manifest_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_NACL_IRT_IRT_MANIFEST_H_
6 #define PPAPI_NACL_IRT_IRT_MANIFEST_H_
7
8 #include "ppapi/proxy/ppapi_proxy_export.h"
9
10 namespace ppapi {
11
12 // The implementation of irt_open_resource() based on ManifestService.
13 // This communicates with the renderer process via Chrome IPC to obtain the
14 // read-only file descriptor of the resource specified in the manifest file
15 // with the key |file| in files section. Returns 0 on success, or error number
16 // on failure. See also irt_open_resource()'s comment.
17 PPAPI_PROXY_EXPORT int IrtOpenResource(const char* file, int* fd);
18
19 } // namespace ppapi
20
21 #endif // PPAPI_NACL_IRT_IRT_MANIFEST_H_
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/DEPS ('k') | ppapi/nacl_irt/manifest_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698