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

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

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

Powered by Google App Engine
This is Rietveld 408576698