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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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
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 "WebWorkerFetchContext.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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 int64_t responseTime, 352 int64_t responseTime,
352 const char* data, 353 const char* data,
353 size_t dataSize, 354 size_t dataSize,
354 const blink::WebSecurityOrigin& cacheStorageOrigin, 355 const blink::WebSecurityOrigin& cacheStorageOrigin,
355 const WebString& cacheStorageCacheName) {} 356 const WebString& cacheStorageCacheName) {}
356 357
357 virtual WebURLError cancelledError(const WebURL&) const { 358 virtual WebURLError cancelledError(const WebURL&) const {
358 return WebURLError(); 359 return WebURLError();
359 } 360 }
360 361
362 virtual std::unique_ptr<WebWorkerFetchContextInfo>
363 createWorkerFetchContextInfo() {
364 return nullptr;
365 }
366
361 // Plugins ------------------------------------------------------------- 367 // Plugins -------------------------------------------------------------
362 368
363 // If refresh is true, then cached information should not be used to 369 // If refresh is true, then cached information should not be used to
364 // satisfy this call. mainFrameOrigin is used by the browser process to 370 // satisfy this call. mainFrameOrigin is used by the browser process to
365 // filter plugins from the plugin list based on content settings. 371 // filter plugins from the plugin list based on content settings.
366 virtual void getPluginList(bool refresh, 372 virtual void getPluginList(bool refresh,
367 const WebSecurityOrigin& mainFrameOrigin, 373 const WebSecurityOrigin& mainFrameOrigin,
368 WebPluginListBuilder*) {} 374 WebPluginListBuilder*) {}
369 375
370 // Public Suffix List -------------------------------------------------- 376 // Public Suffix List --------------------------------------------------
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 protected: 719 protected:
714 Platform(); 720 Platform();
715 virtual ~Platform() {} 721 virtual ~Platform() {}
716 722
717 WebThread* m_mainThread; 723 WebThread* m_mainThread;
718 }; 724 };
719 725
720 } // namespace blink 726 } // namespace blink
721 727
722 #endif 728 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebApplicationCacheHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698