| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; |
| 70 void setNavigationStartTime(double) override; | 70 void setNavigationStartTime(double) override; |
| 71 void updateNavigation(double redirectStartTime, | 71 void updateNavigation(double redirectStartTime, |
| 72 double redirectEndTime, | 72 double redirectEndTime, |
| 73 double fetchStartTime, | 73 double fetchStartTime, |
| 74 const WebVector<WebURL>& redirectChain) override; | 74 bool hasRedirect) override; |
| 75 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; | 75 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; |
| 76 | 76 |
| 77 static WebNavigationType toWebNavigationType(NavigationType); | 77 static WebNavigationType toWebNavigationType(NavigationType); |
| 78 | 78 |
| 79 DECLARE_VIRTUAL_TRACE(); | 79 DECLARE_VIRTUAL_TRACE(); |
| 80 | 80 |
| 81 private: | 81 private: |
| 82 WebDataSourceImpl(LocalFrame*, | 82 WebDataSourceImpl(LocalFrame*, |
| 83 const ResourceRequest&, | 83 const ResourceRequest&, |
| 84 const SubstituteData&, | 84 const SubstituteData&, |
| 85 ClientRedirectPolicy); | 85 ClientRedirectPolicy); |
| 86 ~WebDataSourceImpl() override; | 86 ~WebDataSourceImpl() override; |
| 87 void detachFromFrame() override; | 87 void detachFromFrame() override; |
| 88 String debugName() const override { return "WebDataSourceImpl"; } | 88 String debugName() const override { return "WebDataSourceImpl"; } |
| 89 | 89 |
| 90 // Mutable because the const getters will magically sync these to the | 90 // Mutable because the const getters will magically sync these to the |
| 91 // latest version from WebKit. | 91 // latest version from WebKit. |
| 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 |