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

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

Issue 463993002: - Separate the thread implementation used in bin/ and vm/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
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 #include "bin/secure_socket.h" 5 #include "bin/secure_socket.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <string.h> 11 #include <string.h>
12 12
13 #include <key.h> 13 #include <key.h>
14 #include <keyt.h> 14 #include <keyt.h>
15 #include <nss.h> 15 #include <nss.h>
16 #include <pk11pub.h> 16 #include <pk11pub.h>
17 #include <prerror.h> 17 #include <prerror.h>
18 #include <prinit.h> 18 #include <prinit.h>
19 #include <prnetdb.h> 19 #include <prnetdb.h>
20 #include <secmod.h> 20 #include <secmod.h>
21 #include <ssl.h> 21 #include <ssl.h>
22 #include <sslproto.h> 22 #include <sslproto.h>
23 23
24 #include "bin/builtin.h" 24 #include "bin/builtin.h"
25 #include "bin/dartutils.h" 25 #include "bin/dartutils.h"
26 #include "bin/lockers.h"
26 #include "bin/net/nss_memio.h" 27 #include "bin/net/nss_memio.h"
27 #include "bin/socket.h" 28 #include "bin/socket.h"
28 #include "bin/thread.h" 29 #include "bin/thread.h"
29 #include "bin/utils.h" 30 #include "bin/utils.h"
30 #include "platform/utils.h" 31 #include "platform/utils.h"
31 32
32 #include "include/dart_api.h" 33 #include "include/dart_api.h"
33 34
34 35
35 namespace dart { 36 namespace dart {
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 } 957 }
957 if (bytes_processed > 0) { 958 if (bytes_processed > 0) {
958 memio_PutWriteResult(secret, bytes_processed); 959 memio_PutWriteResult(secret, bytes_processed);
959 } 960 }
960 } 961 }
961 return bytes_processed; 962 return bytes_processed;
962 } 963 }
963 964
964 } // namespace bin 965 } // namespace bin
965 } // namespace dart 966 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698