Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebDataConsumerHandle.h |
| diff --git a/third_party/WebKit/public/platform/WebDataConsumerHandle.h b/third_party/WebKit/public/platform/WebDataConsumerHandle.h |
| index d1ef789ad75edf63d473ca1b95e49cc04a9277b8..19eb6d127bbd4a7dad6c51e01c95635fe76edac2 100644 |
| --- a/third_party/WebKit/public/platform/WebDataConsumerHandle.h |
| +++ b/third_party/WebKit/public/platform/WebDataConsumerHandle.h |
| @@ -12,6 +12,8 @@ |
| namespace blink { |
| +class WebTaskRunner; |
| + |
| // WebDataConsumerHandle represents the "consumer" side of a data pipe. A user |
| // can read data from it. |
| // |
| @@ -52,6 +54,8 @@ public: |
| // function is called, i.e. it can be called more than needed. |
| // One can use / destruct the associated reader in this function. |
| virtual void didGetReadable() = 0; |
| + |
| + virtual WebTaskRunner* getTaskRunner() = 0; |
|
yhirano
2016/07/28 16:25:05
Please write comments. What is this? Is it allowed
|
| }; |
| // This class provides a means to read data from the associated handle. A |