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

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

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.cc ('k') | runtime/dart-runtime.gyp » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_NATIVE_SERVICE_H_ 5 #ifndef BIN_NATIVE_SERVICE_H_
6 #define BIN_NATIVE_SERVICE_H_ 6 #define BIN_NATIVE_SERVICE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "include/dart_native_api.h"
9 #include "platform/globals.h" 10 #include "platform/globals.h"
10 #include "platform/thread.h" 11 #include "platform/thread.h"
11 12
12 13
13 namespace dart { 14 namespace dart {
14 namespace bin { 15 namespace bin {
15 16
16 // Utility class to set up a native service and allocate Dart native 17 // Utility class to set up a native service and allocate Dart native
17 // ports to interact with it from Dart code. The number of native ports 18 // ports to interact with it from Dart code. The number of native ports
18 // allocated for each service is limited. 19 // allocated for each service is limited.
(...skipping 24 matching lines...) Expand all
43 Dart_Port* service_ports_; 44 Dart_Port* service_ports_;
44 int service_ports_index_; 45 int service_ports_index_;
45 46
46 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeService); 47 DISALLOW_IMPLICIT_CONSTRUCTORS(NativeService);
47 }; 48 };
48 49
49 } // namespace bin 50 } // namespace bin
50 } // namespace dart 51 } // namespace dart
51 52
52 #endif // BIN_NATIVE_SERVICE_H_ 53 #endif // BIN_NATIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/dart-runtime.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698