| 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 eab1ca5647cb791538ec8b33fef4eaba3584bd08..07e17510782f52031846612d54f1bf6cc81d8075 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -55,6 +55,7 @@
|
| #include "WebString.h"
|
| #include "WebURLError.h"
|
| #include "WebVector.h"
|
| +#include "WebWorkerFetchContextInfo.h"
|
| #include "base/metrics/user_metrics_action.h"
|
| #include "cc/resources/shared_bitmap.h"
|
| #include "cc/surfaces/frame_sink_id.h"
|
| @@ -359,6 +360,13 @@ class BLINK_PLATFORM_EXPORT Platform {
|
| return WebURLError();
|
| }
|
|
|
| + // Returns a new WebWorkerFetchContextInfo for a dedicated (or shared) worker.
|
| + // Returns nullptr if off-main-thread fetch is disabled.
|
| + virtual std::unique_ptr<WebWorkerFetchContextInfo>
|
| + CreateWorkerFetchContextInfo() {
|
| + return nullptr;
|
| + }
|
| +
|
| // Plugins -------------------------------------------------------------
|
|
|
| // If refresh is true, then cached information should not be used to
|
|
|