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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 class WebProcessMemoryDump; | 99 class WebProcessMemoryDump; |
100 class WebPublicSuffixList; | 100 class WebPublicSuffixList; |
101 class WebPushProvider; | 101 class WebPushProvider; |
102 class WebRTCCertificateGenerator; | 102 class WebRTCCertificateGenerator; |
103 class WebRTCPeerConnectionHandler; | 103 class WebRTCPeerConnectionHandler; |
104 class WebRTCPeerConnectionHandlerClient; | 104 class WebRTCPeerConnectionHandlerClient; |
105 class WebSandboxSupport; | 105 class WebSandboxSupport; |
106 class WebScrollbarBehavior; | 106 class WebScrollbarBehavior; |
107 class WebSecurityOrigin; | 107 class WebSecurityOrigin; |
108 class WebServiceWorkerCacheStorage; | 108 class WebServiceWorkerCacheStorage; |
109 class WebSocketHandle; | |
110 class WebSpeechSynthesizer; | 109 class WebSpeechSynthesizer; |
111 class WebSpeechSynthesizerClient; | 110 class WebSpeechSynthesizerClient; |
112 class WebStorageNamespace; | 111 class WebStorageNamespace; |
113 class WebSyncProvider; | 112 class WebSyncProvider; |
114 struct WebFloatPoint; | 113 struct WebFloatPoint; |
115 class WebThemeEngine; | 114 class WebThemeEngine; |
116 class WebThread; | 115 class WebThread; |
117 class WebTrialTokenValidator; | 116 class WebTrialTokenValidator; |
118 class WebURLLoader; | 117 class WebURLLoader; |
119 class WebURLLoaderMockFactory; | 118 class WebURLLoaderMockFactory; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 295 |
297 | 296 |
298 // Network ------------------------------------------------------------- | 297 // Network ------------------------------------------------------------- |
299 | 298 |
300 // Returns a new WebURLLoader instance. | 299 // Returns a new WebURLLoader instance. |
301 virtual WebURLLoader* createURLLoader() { return nullptr; } | 300 virtual WebURLLoader* createURLLoader() { return nullptr; } |
302 | 301 |
303 // May return null. | 302 // May return null. |
304 virtual WebPrescientNetworking* prescientNetworking() { return nullptr; } | 303 virtual WebPrescientNetworking* prescientNetworking() { return nullptr; } |
305 | 304 |
306 // Returns a new WebSocketHandle instance. | |
307 virtual WebSocketHandle* createWebSocketHandle() { return nullptr; } | |
308 | |
309 // Returns the User-Agent string. | 305 // Returns the User-Agent string. |
310 virtual WebString userAgent() { return WebString(); } | 306 virtual WebString userAgent() { return WebString(); } |
311 | 307 |
312 // A suggestion to cache this metadata in association with this URL. | 308 // A suggestion to cache this metadata in association with this URL. |
313 virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char*
data, size_t dataSize) {} | 309 virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char*
data, size_t dataSize) {} |
314 | 310 |
315 // A suggestion to cache this metadata in association with this URL which re
source is in CacheStorage. | 311 // A suggestion to cache this metadata in association with this URL which re
source is in CacheStorage. |
316 virtual void cacheMetadataInCacheStorage(const WebURL&, int64_t responseTime
, const char* data, size_t dataSize, const blink::WebSecurityOrigin& cacheStorag
eOrigin, const WebString& cacheStorageCacheName) {} | 312 virtual void cacheMetadataInCacheStorage(const WebURL&, int64_t responseTime
, const char* data, size_t dataSize, const blink::WebSecurityOrigin& cacheStorag
eOrigin, const WebString& cacheStorageCacheName) {} |
317 | 313 |
318 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 314 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 protected: | 589 protected: |
594 Platform(); | 590 Platform(); |
595 virtual ~Platform() { } | 591 virtual ~Platform() { } |
596 | 592 |
597 WebThread* m_mainThread; | 593 WebThread* m_mainThread; |
598 }; | 594 }; |
599 | 595 |
600 } // namespace blink | 596 } // namespace blink |
601 | 597 |
602 #endif | 598 #endif |
OLD | NEW |