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

Unified Diff: third_party/grpc/src/core/security/secure_endpoint.h

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/grpc/src/core/security/secure_endpoint.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationEffectReadOnly.idl b/third_party/grpc/src/core/security/secure_endpoint.h
similarity index 73%
copy from third_party/WebKit/Source/core/animation/AnimationEffectReadOnly.idl
copy to third_party/grpc/src/core/security/secure_endpoint.h
index ea12f8dc0ab535af9db47773862151746bf06ae4..c563bdd9c505f42241ffbace849ce34c774efa8f 100644
--- a/third_party/WebKit/Source/core/animation/AnimationEffectReadOnly.idl
+++ b/third_party/grpc/src/core/security/secure_endpoint.h
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ *
+ * Copyright 2015, Google Inc.
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -26,14 +28,22 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
*/
-// https://w3c.github.io/web-animations/#the-animationeffectreadonly-interface
+#ifndef GRPC_INTERNAL_CORE_SECURITY_SECURE_ENDPOINT_H
+#define GRPC_INTERNAL_CORE_SECURITY_SECURE_ENDPOINT_H
+
+#include "src/core/iomgr/endpoint.h"
+#include <grpc/support/slice.h>
+
+struct tsi_frame_protector;
+
+extern int grpc_trace_secure_endpoint;
+
+/* Takes ownership of protector and to_wrap, and refs leftover_slices. */
+grpc_endpoint *grpc_secure_endpoint_create(
+ struct tsi_frame_protector *protector, grpc_endpoint *to_wrap,
+ gpr_slice *leftover_slices, size_t leftover_nslices);
-[
- RuntimeEnabled=WebAnimationsAPI,
- ImplementedAs=AnimationEffect,
-] interface AnimationEffectReadOnly {
- readonly attribute AnimationEffectTiming timing;
- readonly attribute ComputedTimingProperties computedTiming;
-};
+#endif /* GRPC_INTERNAL_CORE_SECURITY_SECURE_ENDPOINT_H */
« no previous file with comments | « third_party/grpc/src/core/security/jwt_verifier.c ('k') | third_party/grpc/src/core/security/secure_endpoint.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698