OLD | NEW |
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 Loading... |
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 |
OLD | NEW |