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

Unified Diff: third_party/grpc/src/core/iomgr/pollset_set_windows.c

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/iomgr/pollset_set_windows.c
diff --git a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h b/third_party/grpc/src/core/iomgr/pollset_set_windows.c
similarity index 59%
copy from third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h
copy to third_party/grpc/src/core/iomgr/pollset_set_windows.c
index f0a7ccbb75a79e110bb19a700fba5f27561e4502..d17b65b13b1641eb75be87472f58af2056011534 100644
--- a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h
+++ b/third_party/grpc/src/core/iomgr/pollset_set_windows.c
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ *
+ * Copyright 2015-2016, 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,39 +28,33 @@
* 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.
+ *
*/
-#ifndef WebDeviceOrientationData_h
-#define WebDeviceOrientationData_h
-
-#include "public/platform/WebCommon.h"
-
-namespace blink {
-
-#pragma pack(push, 1)
+#include <grpc/support/port_platform.h>
-class WebDeviceOrientationData {
-public:
- BLINK_PLATFORM_EXPORT WebDeviceOrientationData();
- ~WebDeviceOrientationData() { }
+#ifdef GPR_WINSOCK_SOCKET
- double alpha;
- double beta;
- double gamma;
+#include "src/core/iomgr/pollset_set_windows.h"
- bool hasAlpha : 1;
- bool hasBeta : 1;
- bool hasGamma : 1;
+grpc_pollset_set* grpc_pollset_set_create(void) { return NULL; }
- bool absolute : 1;
+void grpc_pollset_set_destroy(grpc_pollset_set* pollset_set) {}
- bool allAvailableSensorsAreActive : 1;
-};
+void grpc_pollset_set_add_pollset(grpc_exec_ctx* exec_ctx,
+ grpc_pollset_set* pollset_set,
+ grpc_pollset* pollset) {}
-static_assert(sizeof(WebDeviceOrientationData) == (3 * sizeof(double) + 1 * sizeof(char)), "WebDeviceOrientationData has wrong size");
+void grpc_pollset_set_del_pollset(grpc_exec_ctx* exec_ctx,
+ grpc_pollset_set* pollset_set,
+ grpc_pollset* pollset) {}
-#pragma pack(pop)
+void grpc_pollset_set_add_pollset_set(grpc_exec_ctx* exec_ctx,
+ grpc_pollset_set* bag,
+ grpc_pollset_set* item) {}
-} // namespace blink
+void grpc_pollset_set_del_pollset_set(grpc_exec_ctx* exec_ctx,
+ grpc_pollset_set* bag,
+ grpc_pollset_set* item) {}
-#endif // WebDeviceOrientationData_h
+#endif /* GPR_WINSOCK_SOCKET */
« no previous file with comments | « third_party/grpc/src/core/iomgr/pollset_set_windows.h ('k') | third_party/grpc/src/core/iomgr/pollset_windows.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698