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

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

Issue 14752008: Final step towards loading core library scripts directly from the sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/platform.cc ('k') | runtime/tools/concat_library.py » ('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 #include <prinit.h> 13 #include <prinit.h>
14 #include <prerror.h> 14 #include <prerror.h>
15 #include <prnetdb.h> 15 #include <prnetdb.h>
16 #include <ssl.h> 16 #include <ssl.h>
17 17
18 #include "bin/builtin.h"
19 #include "bin/dartutils.h"
20 #include "platform/globals.h" 18 #include "platform/globals.h"
21 #include "platform/thread.h" 19 #include "platform/thread.h"
22 20
21 #include "bin/builtin.h"
22 #include "bin/dartutils.h"
23 #include "bin/utils.h"
23 24
24 namespace dart { 25 namespace dart {
25 namespace bin { 26 namespace bin {
26 27
27 static void ThrowException(const char* message) { 28 static void ThrowException(const char* message) {
28 Dart_Handle socket_io_exception = 29 Dart_Handle socket_io_exception =
29 DartUtils::NewDartSocketIOException(message, Dart_Null()); 30 DartUtils::NewDartSocketIOException(message, Dart_Null());
30 Dart_ThrowException(socket_io_exception); 31 Dart_ThrowException(socket_io_exception);
31 } 32 }
32 33
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void InitializeBuffers(Dart_Handle dart_this); 122 void InitializeBuffers(Dart_Handle dart_this);
122 void InitializePlatformData(); 123 void InitializePlatformData();
123 124
124 DISALLOW_COPY_AND_ASSIGN(SSLFilter); 125 DISALLOW_COPY_AND_ASSIGN(SSLFilter);
125 }; 126 };
126 127
127 } // namespace bin 128 } // namespace bin
128 } // namespace dart 129 } // namespace dart
129 130
130 #endif // BIN_SECURE_SOCKET_H_ 131 #endif // BIN_SECURE_SOCKET_H_
OLDNEW
« no previous file with comments | « runtime/bin/platform.cc ('k') | runtime/tools/concat_library.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698