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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 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 | « lib/scalarlist/scalarlist_sources.gypi ('k') | runtime/bin/io.dart » ('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 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_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static const char* kDartExtensionScheme; 120 static const char* kDartExtensionScheme;
121 static const char* kBuiltinLibURL; 121 static const char* kBuiltinLibURL;
122 static const char* kCoreLibURL; 122 static const char* kCoreLibURL;
123 static const char* kCoreImplLibURL; 123 static const char* kCoreImplLibURL;
124 static const char* kCryptoLibURL; 124 static const char* kCryptoLibURL;
125 static const char* kIOLibURL; 125 static const char* kIOLibURL;
126 static const char* kJsonLibURL; 126 static const char* kJsonLibURL;
127 static const char* kUriLibURL; 127 static const char* kUriLibURL;
128 static const char* kUtfLibURL; 128 static const char* kUtfLibURL;
129 static const char* kIsolateLibURL; 129 static const char* kIsolateLibURL;
130 static const char* kScalarlistLibURL;
130 static const char* kWebLibURL; 131 static const char* kWebLibURL;
131 132
132 static const char* kIdFieldName; 133 static const char* kIdFieldName;
133 134
134 private: 135 private:
135 static const char* GetCanonicalPath(const char* reference_dir, 136 static const char* GetCanonicalPath(const char* reference_dir,
136 const char* filename); 137 const char* filename);
137 138
138 DISALLOW_ALLOCATION(); 139 DISALLOW_ALLOCATION();
139 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); 140 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils);
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } 363 void* Peer() const { return cobject_->value.as_external_byte_array.peer; }
363 Dart_PeerFinalizer Callback() const { 364 Dart_PeerFinalizer Callback() const {
364 return cobject_->value.as_external_byte_array.callback; 365 return cobject_->value.as_external_byte_array.callback;
365 } 366 }
366 367
367 private: 368 private:
368 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 369 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
369 }; 370 };
370 371
371 #endif // BIN_DARTUTILS_H_ 372 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « lib/scalarlist/scalarlist_sources.gypi ('k') | runtime/bin/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698