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

Unified Diff: chrome/browser/history/page_usage_data.h

Issue 111633003: Removes some dead database code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leave idle comment Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/page_usage_data.h
diff --git a/chrome/browser/history/page_usage_data.h b/chrome/browser/history/page_usage_data.h
index 582f1c3e7740c5dcc93c2ed15b331c1ac46c8952..efc037f8b869e99e0064f91ab40197baf479d49b 100644
--- a/chrome/browser/history/page_usage_data.h
+++ b/chrome/browser/history/page_usage_data.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_HISTORY_PAGE_USAGE_DATA_H__
#include "base/strings/string16.h"
-#include "base/time/time.h"
#include "chrome/browser/history/history_types.h"
#include "url/gurl.h"
@@ -57,14 +56,6 @@ class PageUsageData {
return score_;
}
- void SetDuration(base::TimeDelta duration) {
- duration_ = duration;
- }
-
- base::TimeDelta duration() const {
- return duration_;
- }
-
// Sort predicate to sort instances by score (high to low)
static bool Predicate(const PageUsageData* dud1, const PageUsageData* dud2);
@@ -74,9 +65,6 @@ class PageUsageData {
base::string16 title_;
double score_;
-
- // Duration is only set by QuerySegmentDurationSince().
- base::TimeDelta duration_;
};
#endif // CHROME_BROWSER_HISTORY_PAGE_USAGE_DATA_H__

Powered by Google App Engine
This is Rietveld 408576698