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

Side by Side Diff: ppapi/cpp/var_array_buffer.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/cpp/var.cc ('k') | ppapi/cpp/video_decoder.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CPP_VAR_ARRAY_BUFFER_H_ 5 #ifndef PPAPI_CPP_VAR_ARRAY_BUFFER_H_
6 #define PPAPI_CPP_VAR_ARRAY_BUFFER_H_ 6 #define PPAPI_CPP_VAR_ARRAY_BUFFER_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/cpp/var.h" 10 #include "ppapi/cpp/var.h"
9 11
10 /// @file 12 /// @file
11 /// This file defines the API for interacting with a JavaScript ArrayBuffer. 13 /// This file defines the API for interacting with a JavaScript ArrayBuffer.
12 14
13 namespace pp { 15 namespace pp {
14 16
15 /// <code>VarArrayBuffer</code> provides a way to interact with JavaScript 17 /// <code>VarArrayBuffer</code> provides a way to interact with JavaScript
16 /// ArrayBuffers, which represent a contiguous sequence of bytes. Note that 18 /// ArrayBuffers, which represent a contiguous sequence of bytes. Note that
17 /// these vars are not part of the embedding page's DOM, and can only be 19 /// these vars are not part of the embedding page's DOM, and can only be
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 /// to map the buffer again later. 97 /// to map the buffer again later.
96 void Unmap(); 98 void Unmap();
97 99
98 private: 100 private:
99 void ConstructWithSize(uint32_t size_in_bytes); 101 void ConstructWithSize(uint32_t size_in_bytes);
100 }; 102 };
101 103
102 } // namespace pp 104 } // namespace pp
103 105
104 #endif // PPAPI_CPP_VAR_ARRAY_BUFFER_H_ 106 #endif // PPAPI_CPP_VAR_ARRAY_BUFFER_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/var.cc ('k') | ppapi/cpp/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698