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

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

Issue 10916081: Add secure sockets to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments, remove HandshakeStartHandler. Created 8 years, 1 month 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/bin/io_impl_sources.gypi » ('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_FILE_H_ 5 #ifndef BIN_FILE_H_
6 #define BIN_FILE_H_ 6 #define BIN_FILE_H_
7 7
8 #if defined(_WIN32)
9 typedef signed __int64 int64_t;
10 typedef unsigned __int8 uint8_t;
11 #else
12 #include <stdint.h>
13 #endif
14
15 #include <stdlib.h> 8 #include <stdlib.h>
16 #include <string.h> 9 #include <string.h>
17 #include <stdio.h> 10 #include <stdio.h>
18 #include <sys/types.h> 11 #include <sys/types.h>
19 12
20 #include "bin/builtin.h" 13 #include "bin/builtin.h"
21 #include "bin/dartutils.h" 14 #include "bin/dartutils.h"
22 #include "platform/globals.h" 15 #include "platform/globals.h"
23 #include "platform/thread.h" 16 #include "platform/thread.h"
24 17
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 139
147 static dart::Mutex mutex_; 140 static dart::Mutex mutex_;
148 static int service_ports_size_; 141 static int service_ports_size_;
149 static Dart_Port* service_ports_; 142 static Dart_Port* service_ports_;
150 static int service_ports_index_; 143 static int service_ports_index_;
151 144
152 DISALLOW_COPY_AND_ASSIGN(File); 145 DISALLOW_COPY_AND_ASSIGN(File);
153 }; 146 };
154 147
155 #endif // BIN_FILE_H_ 148 #endif // BIN_FILE_H_
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698