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

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

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)
Patch Set: Rebase Created 4 years, 3 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 class WebProcessMemoryDump; 100 class WebProcessMemoryDump;
101 class WebPublicSuffixList; 101 class WebPublicSuffixList;
102 class WebPushProvider; 102 class WebPushProvider;
103 class WebRTCCertificateGenerator; 103 class WebRTCCertificateGenerator;
104 class WebRTCPeerConnectionHandler; 104 class WebRTCPeerConnectionHandler;
105 class WebRTCPeerConnectionHandlerClient; 105 class WebRTCPeerConnectionHandlerClient;
106 class WebSandboxSupport; 106 class WebSandboxSupport;
107 class WebScrollbarBehavior; 107 class WebScrollbarBehavior;
108 class WebSecurityOrigin; 108 class WebSecurityOrigin;
109 class WebServiceWorkerCacheStorage; 109 class WebServiceWorkerCacheStorage;
110 class WebSocketHandle;
111 class WebSpeechSynthesizer; 110 class WebSpeechSynthesizer;
112 class WebSpeechSynthesizerClient; 111 class WebSpeechSynthesizerClient;
113 class WebStorageNamespace; 112 class WebStorageNamespace;
114 class WebSyncProvider; 113 class WebSyncProvider;
115 struct WebFloatPoint; 114 struct WebFloatPoint;
116 class WebThemeEngine; 115 class WebThemeEngine;
117 class WebThread; 116 class WebThread;
118 class WebTrialTokenValidator; 117 class WebTrialTokenValidator;
119 class WebURLLoader; 118 class WebURLLoader;
120 class WebURLLoaderMockFactory; 119 class WebURLLoaderMockFactory;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 296
298 297
299 // Network ------------------------------------------------------------- 298 // Network -------------------------------------------------------------
300 299
301 // Returns a new WebURLLoader instance. 300 // Returns a new WebURLLoader instance.
302 virtual WebURLLoader* createURLLoader() { return nullptr; } 301 virtual WebURLLoader* createURLLoader() { return nullptr; }
303 302
304 // May return null. 303 // May return null.
305 virtual WebPrescientNetworking* prescientNetworking() { return nullptr; } 304 virtual WebPrescientNetworking* prescientNetworking() { return nullptr; }
306 305
307 // Returns a new WebSocketHandle instance.
308 virtual WebSocketHandle* createWebSocketHandle() { return nullptr; }
309
310 // Returns the User-Agent string. 306 // Returns the User-Agent string.
311 virtual WebString userAgent() { return WebString(); } 307 virtual WebString userAgent() { return WebString(); }
312 308
313 // A suggestion to cache this metadata in association with this URL. 309 // A suggestion to cache this metadata in association with this URL.
314 virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char* data, size_t dataSize) {} 310 virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char* data, size_t dataSize) {}
315 311
316 // A suggestion to cache this metadata in association with this URL which re source is in CacheStorage. 312 // A suggestion to cache this metadata in association with this URL which re source is in CacheStorage.
317 virtual void cacheMetadataInCacheStorage(const WebURL&, int64_t responseTime , const char* data, size_t dataSize, const blink::WebSecurityOrigin& cacheStorag eOrigin, const WebString& cacheStorageCacheName) {} 313 virtual void cacheMetadataInCacheStorage(const WebURL&, int64_t responseTime , const char* data, size_t dataSize, const blink::WebSecurityOrigin& cacheStorag eOrigin, const WebString& cacheStorageCacheName) {}
318 314
319 // Returns the decoded data url if url had a supported mimetype and parsing was successful. 315 // Returns the decoded data url if url had a supported mimetype and parsing was successful.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 protected: 574 protected:
579 Platform(); 575 Platform();
580 virtual ~Platform() { } 576 virtual ~Platform() { }
581 577
582 WebThread* m_mainThread; 578 WebThread* m_mainThread;
583 }; 579 };
584 580
585 } // namespace blink 581 } // namespace blink
586 582
587 #endif 583 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/modules/websockets/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698