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

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

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 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 | « runtime/bin/builtin.cc ('k') | runtime/bin/dartutils.cc » ('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 "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "platform/globals.h" 10 #include "platform/globals.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 static const char* kDartScheme; 89 static const char* kDartScheme;
90 static const char* kDartExtensionScheme; 90 static const char* kDartExtensionScheme;
91 static const char* kBuiltinLibURL; 91 static const char* kBuiltinLibURL;
92 static const char* kCoreLibURL; 92 static const char* kCoreLibURL;
93 static const char* kCoreImplLibURL; 93 static const char* kCoreImplLibURL;
94 static const char* kIOLibURL; 94 static const char* kIOLibURL;
95 static const char* kJsonLibURL; 95 static const char* kJsonLibURL;
96 static const char* kUriLibURL; 96 static const char* kUriLibURL;
97 static const char* kUtf8LibURL; 97 static const char* kUtf8LibURL;
98 static const char* kIsolateLibURL;
98 99
99 static const char* kIdFieldName; 100 static const char* kIdFieldName;
100 101
101 private: 102 private:
102 static const char* GetCanonicalPath(const char* reference_dir, 103 static const char* GetCanonicalPath(const char* reference_dir,
103 const char* filename); 104 const char* filename);
104 105
105 DISALLOW_ALLOCATION(); 106 DISALLOW_ALLOCATION();
106 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); 107 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils);
107 }; 108 };
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 271
271 class CObjectByteArray : public CObject { 272 class CObjectByteArray : public CObject {
272 public: 273 public:
273 DECLARE_COBJECT_CONSTRUCTORS(ByteArray) 274 DECLARE_COBJECT_CONSTRUCTORS(ByteArray)
274 275
275 int Length() const { return cobject_->value.as_byte_array.length; } 276 int Length() const { return cobject_->value.as_byte_array.length; }
276 uint8_t* Buffer() const { return cobject_->value.as_byte_array.values; } 277 uint8_t* Buffer() const { return cobject_->value.as_byte_array.values; }
277 }; 278 };
278 279
279 #endif // BIN_DARTUTILS_H_ 280 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « runtime/bin/builtin.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698