OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "WebLocalizedString.h" | 48 #include "WebLocalizedString.h" |
49 #include "WebMessagePortChannel.h" | 49 #include "WebMessagePortChannel.h" |
50 #include "WebPlatformEventType.h" | 50 #include "WebPlatformEventType.h" |
51 #include "WebSize.h" | 51 #include "WebSize.h" |
52 #include "WebSpeechSynthesizer.h" | 52 #include "WebSpeechSynthesizer.h" |
53 #include "WebStorageQuotaCallbacks.h" | 53 #include "WebStorageQuotaCallbacks.h" |
54 #include "WebStorageQuotaType.h" | 54 #include "WebStorageQuotaType.h" |
55 #include "WebString.h" | 55 #include "WebString.h" |
56 #include "WebURLError.h" | 56 #include "WebURLError.h" |
57 #include "WebVector.h" | 57 #include "WebVector.h" |
| 58 #include "WebWorkerFetchContextInfo.h" |
58 #include "base/metrics/user_metrics_action.h" | 59 #include "base/metrics/user_metrics_action.h" |
59 #include "cc/resources/shared_bitmap.h" | 60 #include "cc/resources/shared_bitmap.h" |
60 #include "cc/surfaces/frame_sink_id.h" | 61 #include "cc/surfaces/frame_sink_id.h" |
61 #include "mojo/public/cpp/system/message_pipe.h" | 62 #include "mojo/public/cpp/system/message_pipe.h" |
62 | 63 |
63 namespace gpu { | 64 namespace gpu { |
64 class GpuMemoryBufferManager; | 65 class GpuMemoryBufferManager; |
65 } | 66 } |
66 | 67 |
67 namespace service_manager { | 68 namespace service_manager { |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 int64_t response_time, | 353 int64_t response_time, |
353 const char* data, | 354 const char* data, |
354 size_t data_size, | 355 size_t data_size, |
355 const blink::WebSecurityOrigin& cache_storage_origin, | 356 const blink::WebSecurityOrigin& cache_storage_origin, |
356 const WebString& cache_storage_cache_name) {} | 357 const WebString& cache_storage_cache_name) {} |
357 | 358 |
358 virtual WebURLError CancelledError(const WebURL&) const { | 359 virtual WebURLError CancelledError(const WebURL&) const { |
359 return WebURLError(); | 360 return WebURLError(); |
360 } | 361 } |
361 | 362 |
| 363 // Returns a new WebWorkerFetchContextInfo for a dedicated (or shared) worker. |
| 364 // Returns nullptr if off-main-thread fetch is disabled. |
| 365 virtual std::unique_ptr<WebWorkerFetchContextInfo> |
| 366 CreateWorkerFetchContextInfo() { |
| 367 return nullptr; |
| 368 } |
| 369 |
362 // Plugins ------------------------------------------------------------- | 370 // Plugins ------------------------------------------------------------- |
363 | 371 |
364 // If refresh is true, then cached information should not be used to | 372 // If refresh is true, then cached information should not be used to |
365 // satisfy this call. mainFrameOrigin is used by the browser process to | 373 // satisfy this call. mainFrameOrigin is used by the browser process to |
366 // filter plugins from the plugin list based on content settings. | 374 // filter plugins from the plugin list based on content settings. |
367 virtual void GetPluginList(bool refresh, | 375 virtual void GetPluginList(bool refresh, |
368 const WebSecurityOrigin& main_frame_origin, | 376 const WebSecurityOrigin& main_frame_origin, |
369 WebPluginListBuilder*) {} | 377 WebPluginListBuilder*) {} |
370 | 378 |
371 // Public Suffix List -------------------------------------------------- | 379 // Public Suffix List -------------------------------------------------- |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 protected: | 722 protected: |
715 Platform(); | 723 Platform(); |
716 virtual ~Platform() {} | 724 virtual ~Platform() {} |
717 | 725 |
718 WebThread* main_thread_; | 726 WebThread* main_thread_; |
719 }; | 727 }; |
720 | 728 |
721 } // namespace blink | 729 } // namespace blink |
722 | 730 |
723 #endif | 731 #endif |
OLD | NEW |