Chromium Code Reviews| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 | 261 |
| 262 | 262 |
| 263 // Network ------------------------------------------------------------- | 263 // Network ------------------------------------------------------------- |
| 264 | 264 |
| 265 // Returns a new WebURLLoader instance. | 265 // Returns a new WebURLLoader instance. |
| 266 virtual WebURLLoader* createURLLoader() { return 0; } | 266 virtual WebURLLoader* createURLLoader() { return 0; } |
| 267 | 267 |
| 268 // A suggestion to prefetch IP information for the given hostname. | 268 // A suggestion to prefetch IP information for the given hostname. |
| 269 virtual void prefetchHostName(const WebString&) { } | 269 virtual void prefetchHostName(const WebString&) { } |
| 270 | 270 |
| 271 // May return null. | |
| 272 virtual WebPrescientNetworking* prescientNetworking() { return 0; } | |
|
abarth-chromium
2013/05/14 06:38:47
Don't we need to forward declare WebPrescientNetwo
kouhei (in TOK)
2013/05/14 07:25:14
Done.
| |
| 273 | |
| 271 // Returns a new WebSocketStreamHandle instance. | 274 // Returns a new WebSocketStreamHandle instance. |
| 272 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } | 275 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } |
| 273 | 276 |
| 274 // Returns the User-Agent string that should be used for the given URL. | 277 // Returns the User-Agent string that should be used for the given URL. |
| 275 virtual WebString userAgent(const WebURL&) { return WebString(); } | 278 virtual WebString userAgent(const WebURL&) { return WebString(); } |
| 276 | 279 |
| 277 // A suggestion to cache this metadata in association with this URL. | 280 // A suggestion to cache this metadata in association with this URL. |
| 278 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d ata, size_t dataSize) { } | 281 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d ata, size_t dataSize) { } |
| 279 | 282 |
| 280 | 283 |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 506 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 509 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 507 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 510 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 508 | 511 |
| 509 protected: | 512 protected: |
| 510 virtual ~Platform() { } | 513 virtual ~Platform() { } |
| 511 }; | 514 }; |
| 512 | 515 |
| 513 } // namespace WebKit | 516 } // namespace WebKit |
| 514 | 517 |
| 515 #endif | 518 #endif |
| OLD | NEW |