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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1682423002: Remove WebWaitableEvent and replace it with WaitableEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 4 years, 10 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/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebWaitableEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 44d4ec1acee32c906add5f948314222716cbb8f5..e787ce08524755a27fdb2a76b30f9ee5b5358acf 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -53,7 +53,6 @@
#include "WebString.h"
#include "WebURLError.h"
#include "WebVector.h"
-#include "WebWaitableEvent.h"
class GrContext;
@@ -348,19 +347,6 @@ public:
// embedder.
virtual WebThread* currentThread() { return nullptr; }
- // WaitableEvent -------------------------------------------------------
-
- // Creates an embedder-defined waitable event object.
- WebWaitableEvent* createWaitableEvent() { return createWaitableEvent(WebWaitableEvent::ResetPolicy::Auto, WebWaitableEvent::InitialState::NonSignaled); }
- virtual WebWaitableEvent* createWaitableEvent(WebWaitableEvent::ResetPolicy, WebWaitableEvent::InitialState) { return nullptr; }
-
- // Waits on multiple events and returns the event object that has been
- // signaled. This may return nullptr if it fails to wait events.
- // Any event objects given to this method must not deleted while this
- // wait is happening.
- virtual WebWaitableEvent* waitMultipleEvents(const WebVector<WebWaitableEvent*>& events) { return nullptr; }
-
-
// Resources -----------------------------------------------------------
// Returns a blob of data corresponding to the named resource.
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebWaitableEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698