Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 communicate with the renderer process via Chrome IPC to obtain the | |
|
Mark Seaborn
2014/04/30 21:20:58
"communicates"
hidehiko
2014/05/01 05:20:31
Done.
| |
| 14 // read-only file descriptor of the resource specified in manifest file with | |
|
Mark Seaborn
2014/04/30 21:20:58
Nit: "the manifest file"
hidehiko
2014/05/01 05:20:31
Done.
| |
| 15 // the key |file| in files section. Returns 0 on success, or error number on | |
| 16 // 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_ | |
| OLD | NEW |