Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: third_party/WebKit/Source/web/WebDataSourceImpl.h

Issue 2196333002: PlzNavigate: Clear provisional history item on redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timing_api
Patch Set: Rebasing again, Trybot issues. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 bool hasUnreachableURL() const override; 58 bool hasUnreachableURL() const override;
59 WebURL unreachableURL() const override; 59 WebURL unreachableURL() const override;
60 void appendRedirect(const WebURL&) override; 60 void appendRedirect(const WebURL&) override;
61 void redirectChain(WebVector<WebURL>&) const override; 61 void redirectChain(WebVector<WebURL>&) const override;
62 bool isClientRedirect() const override; 62 bool isClientRedirect() const override;
63 bool replacesCurrentHistoryItem() const override; 63 bool replacesCurrentHistoryItem() const override;
64 WebNavigationType navigationType() const override; 64 WebNavigationType navigationType() const override;
65 ExtraData* getExtraData() const override; 65 ExtraData* getExtraData() const override;
66 void setExtraData(ExtraData*) override; 66 void setExtraData(ExtraData*) override;
67 void setNavigationStartTime(double) override; 67 void setNavigationStartTime(double) override;
68 void updateNavigationTimings(double redirectStartTime, double redirectEndTim e, double fetchStartTime, const WebVector<WebURL>& redirectChain) override; 68 void updateNavigation(double redirectStartTime, double redirectEndTime, doub le fetchStartTime, const WebVector<WebURL>& redirectChain) override;
69 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; 69 void setSubresourceFilter(WebDocumentSubresourceFilter*) override;
70 70
71 static WebNavigationType toWebNavigationType(NavigationType); 71 static WebNavigationType toWebNavigationType(NavigationType);
72 72
73 DECLARE_VIRTUAL_TRACE(); 73 DECLARE_VIRTUAL_TRACE();
74 74
75 private: 75 private:
76 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData& ); 76 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData& );
77 ~WebDataSourceImpl() override; 77 ~WebDataSourceImpl() override;
78 void detachFromFrame() override; 78 void detachFromFrame() override;
79 String debugName() const override { return "WebDataSourceImpl"; } 79 String debugName() const override { return "WebDataSourceImpl"; }
80 80
81 // Mutable because the const getters will magically sync these to the 81 // Mutable because the const getters will magically sync these to the
82 // latest version from WebKit. 82 // latest version from WebKit.
83 mutable WrappedResourceRequest m_originalRequestWrapper; 83 mutable WrappedResourceRequest m_originalRequestWrapper;
84 mutable WrappedResourceRequest m_requestWrapper; 84 mutable WrappedResourceRequest m_requestWrapper;
85 mutable WrappedResourceResponse m_responseWrapper; 85 mutable WrappedResourceResponse m_responseWrapper;
86 86
87 std::unique_ptr<ExtraData> m_extraData; 87 std::unique_ptr<ExtraData> m_extraData;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // WebDataSourceImpl_h 92 #endif // WebDataSourceImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698