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

Unified Diff: runtime/bin/secure_socket_patch.dart

Issue 2230383003: Implement @patch annotation for patch class members (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/process_patch.dart ('k') | runtime/bin/socket_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_patch.dart
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
index b3fde05c9f258e35b149a6a9e810955a9f19c91e..ad29bd5f0fa79f22bce2e66af01c2498df054197 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -3,17 +3,17 @@
// BSD-style license that can be found in the LICENSE file.
@patch class SecureSocket {
- /* @patch */ factory SecureSocket._(RawSecureSocket rawSocket) =>
+ @patch factory SecureSocket._(RawSecureSocket rawSocket) =>
new _SecureSocket(rawSocket);
}
@patch class _SecureFilter {
- /* @patch */ factory _SecureFilter() => new _SecureFilterImpl();
+ @patch factory _SecureFilter() => new _SecureFilterImpl();
}
@patch class X509Certificate {
- /* @patch */ factory X509Certificate._() => new _X509CertificateImpl();
+ @patch factory X509Certificate._() => new _X509CertificateImpl();
}
class _SecureSocket extends _Socket implements SecureSocket {
@@ -116,15 +116,15 @@ class _SecureFilterImpl
}
@patch class SecurityContext {
- /* @patch */ factory SecurityContext() {
+ @patch factory SecurityContext() {
return new _SecurityContext();
}
- /* @patch */ static SecurityContext get defaultContext {
+ @patch static SecurityContext get defaultContext {
return _SecurityContext.defaultContext;
}
- /* @patch */ static bool get alpnSupported {
+ @patch static bool get alpnSupported {
return _SecurityContext.alpnSupported;
}
}
« no previous file with comments | « runtime/bin/process_patch.dart ('k') | runtime/bin/socket_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698