| Index: third_party/WebKit/WebCore/history/HistoryItem.h
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/history/HistoryItem.h (revision 9310)
|
| +++ third_party/WebKit/WebCore/history/HistoryItem.h (working copy)
|
| @@ -122,6 +122,7 @@
|
|
|
| void setFormInfoFromRequest(const ResourceRequest&);
|
|
|
| + void recordInitialVisit();
|
|
|
| void setVisitCount(int);
|
| void setLastVisitWasFailure(bool wasFailure) { m_lastVisitWasFailure = wasFailure; }
|
| @@ -165,6 +166,10 @@
|
| int showTreeWithIndent(unsigned indentLevel) const;
|
| #endif
|
|
|
| + void adoptVisitCounts(Vector<int>& dailyCounts, Vector<int>& weeklyCounts);
|
| + const Vector<int>& dailyVisitCounts() { return m_dailyVisitCounts; }
|
| + const Vector<int>& weeklyVisitCounts() { return m_weeklyVisitCounts; }
|
| +
|
| private:
|
| HistoryItem();
|
| HistoryItem(const String& urlString, const String& title, double lastVisited);
|
| @@ -173,6 +178,10 @@
|
|
|
| HistoryItem(const HistoryItem&);
|
|
|
| + void padDailyCountsForNewVisit(double time);
|
| + void collapseDailyVisitsToWeekly();
|
| + void recordVisitAtTime(double);
|
| +
|
| String m_urlString;
|
| String m_originalURLString;
|
| String m_referrer;
|
| @@ -192,6 +201,8 @@
|
| bool m_lastVisitWasFailure;
|
| bool m_isTargetItem;
|
| int m_visitCount;
|
| + Vector<int> m_dailyVisitCounts;
|
| + Vector<int> m_weeklyVisitCounts;
|
|
|
| OwnPtr<Vector<String> > m_redirectURLs;
|
|
|
|
|