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 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 10 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // WebDataSource methods: 57 // WebDataSource methods:
58 const WebURLRequest& originalRequest() const override; 58 const WebURLRequest& originalRequest() const override;
59 const WebURLRequest& getRequest() 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;
67 WebNavigationType navigationType() const override;
68 ExtraData* getExtraData() const override; 66 ExtraData* getExtraData() const override;
69 void setExtraData(ExtraData*) override; 67 void setExtraData(ExtraData*) override;
70 void setNavigationStartTime(double) override; 68 void setNavigationStartTime(double) override;
71 void updateNavigation(double redirectStartTime, 69 void updateNavigation(double redirectStartTime,
72 double redirectEndTime, 70 double redirectEndTime,
73 double fetchStartTime, 71 double fetchStartTime,
74 const WebVector<WebURL>& redirectChain) override; 72 const WebVector<WebURL>& redirectChain) override;
75 void setSubresourceFilter(WebDocumentSubresourceFilter*) override; 73 void setSubresourceFilter(WebDocumentSubresourceFilter*) override;
76 74
77 static WebNavigationType toWebNavigationType(NavigationType);
78
79 DECLARE_VIRTUAL_TRACE(); 75 DECLARE_VIRTUAL_TRACE();
80 76
81 private: 77 private:
82 WebDataSourceImpl(LocalFrame*, 78 WebDataSourceImpl(LocalFrame*,
83 const ResourceRequest&, 79 const ResourceRequest&,
84 const SubstituteData&, 80 const SubstituteData&,
85 ClientRedirectPolicy); 81 ClientRedirectPolicy);
86 ~WebDataSourceImpl() override; 82 ~WebDataSourceImpl() override;
87 void detachFromFrame() override; 83 void detachFromFrame() override;
88 String debugName() const override { return "WebDataSourceImpl"; } 84 String debugName() const override { return "WebDataSourceImpl"; }
89 85
90 // Mutable because the const getters will magically sync these to the 86 // Mutable because the const getters will magically sync these to the
91 // latest version from WebKit. 87 // latest version from WebKit.
92 mutable WrappedResourceRequest m_originalRequestWrapper; 88 mutable WrappedResourceRequest m_originalRequestWrapper;
93 mutable WrappedResourceRequest m_requestWrapper; 89 mutable WrappedResourceRequest m_requestWrapper;
94 mutable WrappedResourceResponse m_responseWrapper; 90 mutable WrappedResourceResponse m_responseWrapper;
95 91
96 std::unique_ptr<ExtraData> m_extraData; 92 std::unique_ptr<ExtraData> m_extraData;
97 }; 93 };
98 94
99 } // namespace blink 95 } // namespace blink
100 96
101 #endif // WebDataSourceImpl_h 97 #endif // WebDataSourceImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698