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

Unified Diff: third_party/grpc/src/core/iomgr/workqueue_posix.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
« no previous file with comments | « third_party/grpc/src/core/iomgr/workqueue.h ('k') | third_party/grpc/src/core/iomgr/workqueue_posix.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/grpc/src/core/iomgr/workqueue_posix.h
diff --git a/third_party/WebKit/public/web/WebPrerendererClient.h b/third_party/grpc/src/core/iomgr/workqueue_posix.h
similarity index 76%
copy from third_party/WebKit/public/web/WebPrerendererClient.h
copy to third_party/grpc/src/core/iomgr/workqueue_posix.h
index 4648d956959ac571f97945e1d60da9ba7070e618..68f195ee0d266892e0a39836e2cf4a30644761f6 100644
--- a/third_party/WebKit/public/web/WebPrerendererClient.h
+++ b/third_party/grpc/src/core/iomgr/workqueue_posix.h
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2012 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
@@ -29,20 +31,23 @@
*
*/
-#ifndef WebPrerendererClient_h
-#define WebPrerendererClient_h
+#ifndef GRPC_INTERNAL_CORE_IOMGR_WORKQUEUE_POSIX_H
+#define GRPC_INTERNAL_CORE_IOMGR_WORKQUEUE_POSIX_H
-#include "../platform/WebCommon.h"
+#include "src/core/iomgr/wakeup_fd_posix.h"
-namespace blink {
+struct grpc_fd;
-class WebPrerender;
+struct grpc_workqueue {
+ gpr_refcount refs;
-class WebPrerendererClient {
-public:
- virtual void willAddPrerender(WebPrerender*) = 0;
-};
+ gpr_mu mu;
+ grpc_closure_list closure_list;
-} // namespace blink
+ grpc_wakeup_fd wakeup_fd;
+ struct grpc_fd *wakeup_read_fd;
+
+ grpc_closure read_closure;
+};
-#endif // WebPrerendererClient_h
+#endif /* GRPC_INTERNAL_CORE_IOMGR_WORKQUEUE_POSIX_H */
« no previous file with comments | « third_party/grpc/src/core/iomgr/workqueue.h ('k') | third_party/grpc/src/core/iomgr/workqueue_posix.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698