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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 virtual WebPrescientNetworking* prescientNetworking() { return 0; } | 300 virtual WebPrescientNetworking* prescientNetworking() { return 0; } |
301 | 301 |
302 // Returns a new WebSocketHandle instance. | 302 // Returns a new WebSocketHandle instance. |
303 virtual WebSocketHandle* createWebSocketHandle() { return 0; } | 303 virtual WebSocketHandle* createWebSocketHandle() { return 0; } |
304 | 304 |
305 // Returns the User-Agent string. | 305 // Returns the User-Agent string. |
306 virtual WebString userAgent() { return WebString(); } | 306 virtual WebString userAgent() { return WebString(); } |
307 | 307 |
308 // A suggestion to cache this metadata in association with this URL. | 308 // A suggestion to cache this metadata in association with this URL. |
309 virtual void cacheMetadata(const WebURL&, int64 responseTime, const char* da
ta, size_t dataSize) { } | 309 virtual void cacheMetadata(const WebURL&, int64 responseTime, const char* da
ta, size_t dataSize) { } |
310 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } | |
311 | 310 |
312 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 311 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. |
313 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } | 312 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } |
314 | 313 |
315 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 314 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
316 | 315 |
317 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } | 316 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } |
318 | 317 |
319 // Plugins ------------------------------------------------------------- | 318 // Plugins ------------------------------------------------------------- |
320 | 319 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 protected: | 663 protected: |
665 BLINK_PLATFORM_EXPORT Platform(); | 664 BLINK_PLATFORM_EXPORT Platform(); |
666 virtual ~Platform() { } | 665 virtual ~Platform() { } |
667 | 666 |
668 WebThread* m_mainThread; | 667 WebThread* m_mainThread; |
669 }; | 668 }; |
670 | 669 |
671 } // namespace blink | 670 } // namespace blink |
672 | 671 |
673 #endif | 672 #endif |
OLD | NEW |