| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 const ResourceRequest&, | 49 const ResourceRequest&, |
| 50 const SubstituteData&, | 50 const SubstituteData&, |
| 51 ClientRedirectPolicy); | 51 ClientRedirectPolicy); |
| 52 | 52 |
| 53 static WebDataSourceImpl* fromDocumentLoader(DocumentLoader* loader) { | 53 static WebDataSourceImpl* fromDocumentLoader(DocumentLoader* loader) { |
| 54 return static_cast<WebDataSourceImpl*>(loader); | 54 return static_cast<WebDataSourceImpl*>(loader); |
| 55 } | 55 } |
| 56 | 56 |
| 57 // WebDataSource methods: | 57 // WebDataSource methods: |
| 58 const WebURLRequest& originalRequest() const override; | 58 const WebURLRequest& originalRequest() const override; |
| 59 const WebURLRequest& request() const override; | 59 const WebURLRequest& getRequest() const override; |
| 60 const WebURLResponse& response() const override; | 60 const WebURLResponse& response() const override; |
| 61 bool hasUnreachableURL() const override; | 61 bool hasUnreachableURL() const override; |
| 62 WebURL unreachableURL() const override; | 62 WebURL unreachableURL() const override; |
| 63 void appendRedirect(const WebURL&) override; | 63 void appendRedirect(const WebURL&) override; |
| 64 void redirectChain(WebVector<WebURL>&) const override; | 64 void redirectChain(WebVector<WebURL>&) const override; |
| 65 bool isClientRedirect() const override; | 65 bool isClientRedirect() const override; |
| 66 bool replacesCurrentHistoryItem() const override; | 66 bool replacesCurrentHistoryItem() const override; |
| 67 WebNavigationType navigationType() const override; | 67 WebNavigationType navigationType() const override; |
| 68 ExtraData* getExtraData() const override; | 68 ExtraData* getExtraData() const override; |
| 69 void setExtraData(ExtraData*) override; | 69 void setExtraData(ExtraData*) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 92 mutable WrappedResourceRequest m_originalRequestWrapper; | 92 mutable WrappedResourceRequest m_originalRequestWrapper; |
| 93 mutable WrappedResourceRequest m_requestWrapper; | 93 mutable WrappedResourceRequest m_requestWrapper; |
| 94 mutable WrappedResourceResponse m_responseWrapper; | 94 mutable WrappedResourceResponse m_responseWrapper; |
| 95 | 95 |
| 96 std::unique_ptr<ExtraData> m_extraData; | 96 std::unique_ptr<ExtraData> m_extraData; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace blink | 99 } // namespace blink |
| 100 | 100 |
| 101 #endif // WebDataSourceImpl_h | 101 #endif // WebDataSourceImpl_h |
| OLD | NEW |