| Index: chrome/browser/history/history_types.h
|
| diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
|
| index 823a8369f98156ca606baeb602c6a5b7fb5c643c..30ded6694559fe91dea155180284e4a881543ff9 100644
|
| --- a/chrome/browser/history/history_types.h
|
| +++ b/chrome/browser/history/history_types.h
|
| @@ -237,6 +237,12 @@ class VisitRow {
|
| // change.
|
| bool is_indexed;
|
|
|
| + // Record how much time a user has this visit starting from the user
|
| + // opened this visit to the user closed or ended this visit.
|
| + // This includes both active and inactive time as long as
|
| + // the visit was present.
|
| + base::TimeDelta visit_duration;
|
| +
|
| // Compares two visits based on dates, for sorting.
|
| bool operator<(const VisitRow& other) {
|
| return visit_time < other.visit_time;
|
|
|