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

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

Issue 257433002: - Update status file to mark crashing test while investigating. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | « no previous file | runtime/bin/socket.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) 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_SOCKET_H_ 5 #ifndef BIN_SOCKET_H_
6 #define BIN_SOCKET_H_ 6 #define BIN_SOCKET_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 "bin/dartutils.h" 10 #include "bin/dartutils.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 static CObject* LookupRequest(const CObjectArray& request); 275 static CObject* LookupRequest(const CObjectArray& request);
276 static CObject* ListInterfacesRequest(const CObjectArray& request); 276 static CObject* ListInterfacesRequest(const CObjectArray& request);
277 static CObject* ReverseLookupRequest(const CObjectArray& request); 277 static CObject* ReverseLookupRequest(const CObjectArray& request);
278 278
279 static Dart_Port GetServicePort(); 279 static Dart_Port GetServicePort();
280 280
281 static void SetSocketIdNativeField(Dart_Handle socket, intptr_t id); 281 static void SetSocketIdNativeField(Dart_Handle socket, intptr_t id);
282 static intptr_t GetSocketIdNativeField(Dart_Handle socket); 282 static intptr_t GetSocketIdNativeField(Dart_Handle socket);
283 283
284 private: 284 private:
285 static dart::Mutex* mutex_;
286 static int service_ports_size_;
287 static Dart_Port* service_ports_;
288 static int service_ports_index_;
289
290 DISALLOW_ALLOCATION(); 285 DISALLOW_ALLOCATION();
291 DISALLOW_IMPLICIT_CONSTRUCTORS(Socket); 286 DISALLOW_IMPLICIT_CONSTRUCTORS(Socket);
292 }; 287 };
293 288
294 289
295 class ServerSocket { 290 class ServerSocket {
296 public: 291 public:
297 static const intptr_t kTemporaryFailure = -2; 292 static const intptr_t kTemporaryFailure = -2;
298 293
299 static intptr_t Accept(intptr_t fd); 294 static intptr_t Accept(intptr_t fd);
(...skipping 10 matching lines...) Expand all
310 305
311 private: 306 private:
312 DISALLOW_ALLOCATION(); 307 DISALLOW_ALLOCATION();
313 DISALLOW_IMPLICIT_CONSTRUCTORS(ServerSocket); 308 DISALLOW_IMPLICIT_CONSTRUCTORS(ServerSocket);
314 }; 309 };
315 310
316 } // namespace bin 311 } // namespace bin
317 } // namespace dart 312 } // namespace dart
318 313
319 #endif // BIN_SOCKET_H_ 314 #endif // BIN_SOCKET_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698