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

Side by Side Diff: runtime/bin/io_buffer.h

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Windows fixes Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_IO_BUFFER_H_ 5 #ifndef BIN_IO_BUFFER_H_
6 #define BIN_IO_BUFFER_H_ 6 #define BIN_IO_BUFFER_H_
7 7
8 #include "include/dart_api.h"
8 #include "platform/globals.h" 9 #include "platform/globals.h"
9 10
10 #include "include/dart_api.h"
11
12
13 namespace dart { 11 namespace dart {
14 namespace bin { 12 namespace bin {
15 13
16 class IOBuffer { 14 class IOBuffer {
17 public: 15 public:
18 // Allocate an IO buffer dart object (of type Uint8List) backed by 16 // Allocate an IO buffer dart object (of type Uint8List) backed by
19 // an external byte array. 17 // an external byte array.
20 static Dart_Handle Allocate(intptr_t size, uint8_t **buffer); 18 static Dart_Handle Allocate(intptr_t size, uint8_t **buffer);
21 19
22 // Allocate IO buffer storage. 20 // Allocate IO buffer storage.
(...skipping 14 matching lines...) Expand all
37 35
38 private: 36 private:
39 DISALLOW_ALLOCATION(); 37 DISALLOW_ALLOCATION();
40 DISALLOW_IMPLICIT_CONSTRUCTORS(IOBuffer); 38 DISALLOW_IMPLICIT_CONSTRUCTORS(IOBuffer);
41 }; 39 };
42 40
43 } // namespace bin 41 } // namespace bin
44 } // namespace dart 42 } // namespace dart
45 43
46 #endif // BIN_IO_BUFFER_H_ 44 #endif // BIN_IO_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698