| 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 */
|
|
|