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

Unified Diff: runtime/bin/secure_socket.h

Issue 24395013: Merge services into a shared IOService in dart:io, and use a native port. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Finish off native_service Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/native_service.cc ('k') | runtime/bin/secure_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket.h
diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h
index 304ccd52dad4bfbf8abcf21023fce6612bf6041a..70c6c62ee630b469ba4da629634b2bbe3d9e43ee 100644
--- a/runtime/bin/secure_socket.h
+++ b/runtime/bin/secure_socket.h
@@ -22,7 +22,6 @@
#include "bin/dartutils.h"
#include "bin/socket.h"
#include "bin/utils.h"
-#include "bin/native_service.h"
namespace dart {
namespace bin {
@@ -88,15 +87,15 @@ class SSLFilter {
const char* password,
bool use_builtin_root_certificates,
bool report_duplicate_initialization = true);
- static Dart_Port GetServicePort();
Dart_Handle callback_error;
+ static CObject* ProcessFilterRequest(const CObjectArray& request);
+
private:
static const int kMemioBufferSize = 20 * KB;
static bool library_initialized_;
static const char* password_;
static dart::Mutex* mutex_; // To protect library initialization.
- static NativeService filter_service_;
uint8_t* buffers_[kNumBuffers];
int buffer_size_;
« no previous file with comments | « runtime/bin/native_service.cc ('k') | runtime/bin/secure_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698