| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 321 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
| 322 | 322 |
| 323 // Returns true and stores the position of the end of the headers to |*end| | 323 // Returns true and stores the position of the end of the headers to |*end| |
| 324 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. | 324 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. |
| 325 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size
*/, WebURLResponse*, size_t* end) const { return false; } | 325 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size
*/, WebURLResponse*, size_t* end) const { return false; } |
| 326 | 326 |
| 327 // Plugins ------------------------------------------------------------- | 327 // Plugins ------------------------------------------------------------- |
| 328 | 328 |
| 329 // If refresh is true, then cached information should not be used to | 329 // If refresh is true, then cached information should not be used to |
| 330 // satisfy this call. | 330 // satisfy this call. |
| 331 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 331 virtual void getPluginList(bool refresh, WebSecurityOrigin* origin, WebPlugi
nListBuilder*) {} |
| 332 | |
| 333 | 332 |
| 334 // Public Suffix List -------------------------------------------------- | 333 // Public Suffix List -------------------------------------------------- |
| 335 | 334 |
| 336 // May return null on some platforms. | 335 // May return null on some platforms. |
| 337 virtual WebPublicSuffixList* publicSuffixList() { return nullptr; } | 336 virtual WebPublicSuffixList* publicSuffixList() { return nullptr; } |
| 338 | 337 |
| 339 | 338 |
| 340 // Resources ----------------------------------------------------------- | 339 // Resources ----------------------------------------------------------- |
| 341 | 340 |
| 342 // Returns a localized string resource (with substitution parameters). | 341 // Returns a localized string resource (with substitution parameters). |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 protected: | 592 protected: |
| 594 Platform(); | 593 Platform(); |
| 595 virtual ~Platform() { } | 594 virtual ~Platform() { } |
| 596 | 595 |
| 597 WebThread* m_mainThread; | 596 WebThread* m_mainThread; |
| 598 }; | 597 }; |
| 599 | 598 |
| 600 } // namespace blink | 599 } // namespace blink |
| 601 | 600 |
| 602 #endif | 601 #endif |
| OLD | NEW |