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

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

Issue 16973003: Split dart_api.h into multiple parts: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/dartutils.h ('k') | runtime/bin/native_service.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 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 #include "bin/dartutils.h" 5 #include "bin/dartutils.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "include/dart_native_api.h"
8 9
9 #include "platform/assert.h" 10 #include "platform/assert.h"
10 #include "platform/globals.h" 11 #include "platform/globals.h"
11 12
12 #include "bin/extensions.h" 13 #include "bin/extensions.h"
13 #include "bin/directory.h" 14 #include "bin/directory.h"
14 #include "bin/file.h" 15 #include "bin/file.h"
15 #include "bin/io_buffer.h" 16 #include "bin/io_buffer.h"
16 #include "bin/utils.h" 17 #include "bin/utils.h"
17 #include "bin/socket.h" 18 #include "bin/socket.h"
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 new CObjectString(CObject::NewString(os_error->message())); 958 new CObjectString(CObject::NewString(os_error->message()));
958 CObjectArray* result = new CObjectArray(CObject::NewArray(3)); 959 CObjectArray* result = new CObjectArray(CObject::NewArray(3));
959 result->SetAt(0, new CObjectInt32(CObject::NewInt32(kOSError))); 960 result->SetAt(0, new CObjectInt32(CObject::NewInt32(kOSError)));
960 result->SetAt(1, new CObjectInt32(CObject::NewInt32(os_error->code()))); 961 result->SetAt(1, new CObjectInt32(CObject::NewInt32(os_error->code())));
961 result->SetAt(2, error_message); 962 result->SetAt(2, error_message);
962 return result; 963 return result;
963 } 964 }
964 965
965 } // namespace bin 966 } // namespace bin
966 } // namespace dart 967 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.h ('k') | runtime/bin/native_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698