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

Side by Side Diff: ppapi/api/ppb_file_mapping.idl

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix missing return Created 6 years, 10 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 | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/c/ppb_file_mapping.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 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 5
6 6
7 /** 7 /**
8 * This file defines methods for mapping and unmapping files into and out of 8 * This file defines methods for mapping and unmapping files into and out of
9 * memory. 9 * memory.
10 */ 10 */
11 11
12 [generate_thunk]
13
12 label Chrome { 14 label Chrome {
13 [channel=dev] M34 = 0.1 15 [channel=dev] M34 = 0.1
14 }; 16 };
15 17
16 /** 18 /**
17 * The PP_FileMapProtection values indicate the permissions requested for the 19 * The PP_FileMapProtection values indicate the permissions requested for the
18 * file mapping. These should be used in a uint32_t bitfield. 20 * file mapping. These should be used in a uint32_t bitfield.
19 */ 21 */
20 [assert_size(4)] 22 [assert_size(4)]
21 enum PP_FileMapProtection { 23 enum PP_FileMapProtection {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 * GetMapPageSize() retrieves the size of pages that Map() uses. 122 * GetMapPageSize() retrieves the size of pages that Map() uses.
121 * 123 *
122 * @param[in] instance A <code>PP_Instance</code> identifying the instance. 124 * @param[in] instance A <code>PP_Instance</code> identifying the instance.
123 * 125 *
124 * @return The size of pages that Map() uses. Returns 0 on failure. 126 * @return The size of pages that Map() uses. Returns 0 on failure.
125 */ 127 */
126 [on_failure=0] 128 [on_failure=0]
127 int64_t GetMapPageSize(PP_Instance instance); 129 int64_t GetMapPageSize(PP_Instance instance);
128 }; 130 };
129 131
OLDNEW
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/c/ppb_file_mapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698