summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/history_model.h')
-rw-r--r--chrome/browser/history_model.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/history_model.h b/chrome/browser/history_model.h
index 89e6e79..d5595ee 100644
--- a/chrome/browser/history_model.h
+++ b/chrome/browser/history_model.h
@@ -92,6 +92,18 @@ class HistoryModel : public BaseHistoryModel,
// Contents of the current query.
history::QueryResults results_;
+ // We lazily ask the BookmarkBarModel for whether a URL is starred. This
+ // enum gives the state of a particular entry.
+ enum StarState {
+ UNKNOWN = 0, // Indicates we haven't determined the state yet.
+ STARRED,
+ NOT_STARRED
+ };
+
+ // star_state_ has an entry for each element of results_ indicating whether
+ // the URL is starred.
+ scoped_array<StarState> star_state_;
+
// How many months back the current query has gone.
int search_depth_;