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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bool hasRedirect) override; | 74 bool hasRedirect) override; |
75 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; | 75 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; |
76 void setServiceWorkerNetworkProvider( | 76 void setServiceWorkerNetworkProvider( |
77 std::unique_ptr<WebServiceWorkerNetworkProvider>) override; | 77 std::unique_ptr<WebServiceWorkerNetworkProvider>) override; |
78 WebServiceWorkerNetworkProvider* getServiceWorkerNetworkProvider() override; | 78 WebServiceWorkerNetworkProvider* getServiceWorkerNetworkProvider() override; |
| 79 void setSourceLocation(const WebSourceLocation&) override; |
| 80 void resetSourceLocation() override; |
79 | 81 |
80 static WebNavigationType toWebNavigationType(NavigationType); | 82 static WebNavigationType toWebNavigationType(NavigationType); |
81 | 83 |
82 DECLARE_VIRTUAL_TRACE(); | 84 DECLARE_VIRTUAL_TRACE(); |
83 | 85 |
84 private: | 86 private: |
85 WebDataSourceImpl(LocalFrame*, | 87 WebDataSourceImpl(LocalFrame*, |
86 const ResourceRequest&, | 88 const ResourceRequest&, |
87 const SubstituteData&, | 89 const SubstituteData&, |
88 ClientRedirectPolicy); | 90 ClientRedirectPolicy); |
89 ~WebDataSourceImpl() override; | 91 ~WebDataSourceImpl() override; |
90 void detachFromFrame() override; | 92 void detachFromFrame() override; |
91 String debugName() const override { return "WebDataSourceImpl"; } | 93 String debugName() const override { return "WebDataSourceImpl"; } |
92 | 94 |
93 // Mutable because the const getters will magically sync these to the | 95 // Mutable because the const getters will magically sync these to the |
94 // latest version from WebKit. | 96 // latest version from WebKit. |
95 mutable WrappedResourceRequest m_originalRequestWrapper; | 97 mutable WrappedResourceRequest m_originalRequestWrapper; |
96 mutable WrappedResourceRequest m_requestWrapper; | 98 mutable WrappedResourceRequest m_requestWrapper; |
97 mutable WrappedResourceResponse m_responseWrapper; | 99 mutable WrappedResourceResponse m_responseWrapper; |
98 | 100 |
99 std::unique_ptr<ExtraData> m_extraData; | 101 std::unique_ptr<ExtraData> m_extraData; |
100 }; | 102 }; |
101 | 103 |
102 } // namespace blink | 104 } // namespace blink |
103 | 105 |
104 #endif // WebDataSourceImpl_h | 106 #endif // WebDataSourceImpl_h |
OLD | NEW |