| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 56     const WebURLRequest& originalRequest() const override; | 56     const WebURLRequest& originalRequest() const override; | 
| 57     const WebURLRequest& request() const override; | 57     const WebURLRequest& request() const override; | 
| 58     const WebURLResponse& response() const override; | 58     const WebURLResponse& response() const override; | 
| 59     bool hasUnreachableURL() const override; | 59     bool hasUnreachableURL() const override; | 
| 60     WebURL unreachableURL() const override; | 60     WebURL unreachableURL() const override; | 
| 61     void appendRedirect(const WebURL&) override; | 61     void appendRedirect(const WebURL&) override; | 
| 62     void redirectChain(WebVector<WebURL>&) const override; | 62     void redirectChain(WebVector<WebURL>&) const override; | 
| 63     bool isClientRedirect() const override; | 63     bool isClientRedirect() const override; | 
| 64     bool replacesCurrentHistoryItem() const override; | 64     bool replacesCurrentHistoryItem() const override; | 
| 65     WebNavigationType navigationType() const override; | 65     WebNavigationType navigationType() const override; | 
| 66     ExtraData* extraData() const override; | 66     ExtraData* getExtraData() const override; | 
| 67     void setExtraData(ExtraData*) override; | 67     void setExtraData(ExtraData*) override; | 
| 68     void setNavigationStartTime(double) override; | 68     void setNavigationStartTime(double) override; | 
| 69 | 69 | 
| 70     static WebNavigationType toWebNavigationType(NavigationType); | 70     static WebNavigationType toWebNavigationType(NavigationType); | 
| 71 | 71 | 
| 72     DECLARE_VIRTUAL_TRACE(); | 72     DECLARE_VIRTUAL_TRACE(); | 
| 73 | 73 | 
| 74 private: | 74 private: | 
| 75     WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData&
    ); | 75     WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData&
    ); | 
| 76     ~WebDataSourceImpl() override; | 76     ~WebDataSourceImpl() override; | 
| 77     void detachFromFrame() override; | 77     void detachFromFrame() override; | 
| 78     String debugName() const override { return "WebDataSourceImpl"; } | 78     String debugName() const override { return "WebDataSourceImpl"; } | 
| 79 | 79 | 
| 80     // Mutable because the const getters will magically sync these to the | 80     // Mutable because the const getters will magically sync these to the | 
| 81     // latest version from WebKit. | 81     // latest version from WebKit. | 
| 82     mutable WrappedResourceRequest m_originalRequestWrapper; | 82     mutable WrappedResourceRequest m_originalRequestWrapper; | 
| 83     mutable WrappedResourceRequest m_requestWrapper; | 83     mutable WrappedResourceRequest m_requestWrapper; | 
| 84     mutable WrappedResourceResponse m_responseWrapper; | 84     mutable WrappedResourceResponse m_responseWrapper; | 
| 85 | 85 | 
| 86     OwnPtr<ExtraData> m_extraData; | 86     OwnPtr<ExtraData> m_extraData; | 
| 87 }; | 87 }; | 
| 88 | 88 | 
| 89 } // namespace blink | 89 } // namespace blink | 
| 90 | 90 | 
| 91 #endif  // WebDataSourceImpl_h | 91 #endif  // WebDataSourceImpl_h | 
| OLD | NEW | 
|---|