| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 BLINK_PLATFORM_EXPORT void initialize(); | 52 BLINK_PLATFORM_EXPORT void initialize(); |
| 53 BLINK_PLATFORM_EXPORT void reset(); | 53 BLINK_PLATFORM_EXPORT void reset(); |
| 54 BLINK_PLATFORM_EXPORT void assign(const WebHTTPLoadInfo& r); | 54 BLINK_PLATFORM_EXPORT void assign(const WebHTTPLoadInfo& r); |
| 55 | 55 |
| 56 BLINK_PLATFORM_EXPORT int httpStatusCode() const; | 56 BLINK_PLATFORM_EXPORT int httpStatusCode() const; |
| 57 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int); | 57 BLINK_PLATFORM_EXPORT void setHTTPStatusCode(int); |
| 58 | 58 |
| 59 BLINK_PLATFORM_EXPORT WebString httpStatusText() const; | 59 BLINK_PLATFORM_EXPORT WebString httpStatusText() const; |
| 60 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&); | 60 BLINK_PLATFORM_EXPORT void setHTTPStatusText(const WebString&); |
| 61 | 61 |
| 62 BLINK_PLATFORM_EXPORT long long encodedDataLength() const; | |
| 63 BLINK_PLATFORM_EXPORT void setEncodedDataLength(long long); | |
| 64 | |
| 65 BLINK_PLATFORM_EXPORT void addRequestHeader(const WebString& name, | 62 BLINK_PLATFORM_EXPORT void addRequestHeader(const WebString& name, |
| 66 const WebString& value); | 63 const WebString& value); |
| 67 BLINK_PLATFORM_EXPORT void addResponseHeader(const WebString& name, | 64 BLINK_PLATFORM_EXPORT void addResponseHeader(const WebString& name, |
| 68 const WebString& value); | 65 const WebString& value); |
| 69 | 66 |
| 70 BLINK_PLATFORM_EXPORT WebString requestHeadersText() const; | 67 BLINK_PLATFORM_EXPORT WebString requestHeadersText() const; |
| 71 BLINK_PLATFORM_EXPORT void setRequestHeadersText(const WebString&); | 68 BLINK_PLATFORM_EXPORT void setRequestHeadersText(const WebString&); |
| 72 | 69 |
| 73 BLINK_PLATFORM_EXPORT WebString responseHeadersText() const; | 70 BLINK_PLATFORM_EXPORT WebString responseHeadersText() const; |
| 74 BLINK_PLATFORM_EXPORT void setResponseHeadersText(const WebString&); | 71 BLINK_PLATFORM_EXPORT void setResponseHeadersText(const WebString&); |
| 75 | 72 |
| 76 BLINK_PLATFORM_EXPORT WebString npnNegotiatedProtocol() const; | 73 BLINK_PLATFORM_EXPORT WebString npnNegotiatedProtocol() const; |
| 77 BLINK_PLATFORM_EXPORT void setNPNNegotiatedProtocol(const WebString&); | 74 BLINK_PLATFORM_EXPORT void setNPNNegotiatedProtocol(const WebString&); |
| 78 | 75 |
| 79 #if INSIDE_BLINK | 76 #if INSIDE_BLINK |
| 80 BLINK_PLATFORM_EXPORT WebHTTPLoadInfo(WTF::PassRefPtr<ResourceLoadInfo>); | 77 BLINK_PLATFORM_EXPORT WebHTTPLoadInfo(WTF::PassRefPtr<ResourceLoadInfo>); |
| 81 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadInfo>() const; | 78 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadInfo>() const; |
| 82 #endif | 79 #endif |
| 83 | 80 |
| 84 private: | 81 private: |
| 85 WebPrivatePtr<ResourceLoadInfo> m_private; | 82 WebPrivatePtr<ResourceLoadInfo> m_private; |
| 86 }; | 83 }; |
| 87 | 84 |
| 88 } // namespace blink | 85 } // namespace blink |
| 89 | 86 |
| 90 #endif | 87 #endif |
| OLD | NEW |