| Index: history/HistoryItem.h
|
| ===================================================================
|
| --- history/HistoryItem.h (revision 48585)
|
| +++ history/HistoryItem.h (working copy)
|
| @@ -27,6 +27,7 @@
|
| #define HistoryItem_h
|
|
|
| #include "IntPoint.h"
|
| +#include "HTTPHeaderMap.h"
|
| #include "PlatformString.h"
|
| #include <wtf/OwnPtr.h>
|
| #include <wtf/PassOwnPtr.h>
|
| @@ -102,6 +103,7 @@
|
| const String& referrer() const;
|
| const String& target() const;
|
| bool isTargetItem() const;
|
| + const HTTPHeaderMap& httpHeaderFields() const;
|
|
|
| FormData* formData();
|
| String formContentType() const;
|
| @@ -127,6 +129,7 @@
|
| void setParent(const String&);
|
| void setTitle(const String&);
|
| void setIsTargetItem(bool);
|
| + void setHTTPHeaderField(const String&, const String&);
|
|
|
| void setFormInfoFromRequest(const ResourceRequest&);
|
| void setFormData(PassRefPtr<FormData>);
|
| @@ -196,6 +199,9 @@
|
| void collapseDailyVisitsToWeekly();
|
| void recordVisitAtTime(double, VisitCountBehavior = IncreaseVisitCount);
|
|
|
| + // Return true if the HTTP header should not be stored in the history
|
| + bool excludeHTTPHeaderFromStorage(const String& name) const;
|
| +
|
| HistoryItem* findTargetItem();
|
|
|
| /* When adding new member variables to this class, please notify the Qt team.
|
| @@ -230,6 +236,8 @@
|
| RefPtr<FormData> m_formData;
|
| String m_formContentType;
|
|
|
| + HTTPHeaderMap m_httpHeadersMap;
|
| +
|
| // PageCache controls these fields.
|
| HistoryItem* m_next;
|
| HistoryItem* m_prev;
|
|
|