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

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

Issue 584023004: Service isolate rework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/run_vm_tests.cc ('k') | runtime/bin/secure_socket_unsupported.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_SECURE_SOCKET_H_ 5 #ifndef BIN_SECURE_SOCKET_H_
6 #define BIN_SECURE_SOCKET_H_ 6 #define BIN_SECURE_SOCKET_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <sys/types.h> 11 #include <sys/types.h>
12 12
13 #if !defined(DART_IO_SECURE_SOCKET_DISABLED)
13 #include <prinit.h> 14 #include <prinit.h>
14 #include <prerror.h> 15 #include <prerror.h>
15 #include <prnetdb.h> 16 #include <prnetdb.h>
16 #include <ssl.h> 17 #include <ssl.h>
18 #else
19 struct PRFileDesc;
20 #endif
17 21
18 #include "bin/builtin.h" 22 #include "bin/builtin.h"
19 #include "bin/dartutils.h" 23 #include "bin/dartutils.h"
20 #include "bin/socket.h" 24 #include "bin/socket.h"
21 #include "bin/thread.h" 25 #include "bin/thread.h"
22 #include "bin/utils.h" 26 #include "bin/utils.h"
23 27
24 namespace dart { 28 namespace dart {
25 namespace bin { 29 namespace bin {
26 30
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void InitializeBuffers(Dart_Handle dart_this); 120 void InitializeBuffers(Dart_Handle dart_this);
117 void InitializePlatformData(); 121 void InitializePlatformData();
118 122
119 DISALLOW_COPY_AND_ASSIGN(SSLFilter); 123 DISALLOW_COPY_AND_ASSIGN(SSLFilter);
120 }; 124 };
121 125
122 } // namespace bin 126 } // namespace bin
123 } // namespace dart 127 } // namespace dart
124 128
125 #endif // BIN_SECURE_SOCKET_H_ 129 #endif // BIN_SECURE_SOCKET_H_
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/bin/secure_socket_unsupported.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698