Index: chrome/browser/ui/webui/history_ui.h |
diff --git a/chrome/browser/ui/webui/history_ui.h b/chrome/browser/ui/webui/history_ui.h |
index 9e792821d1349de6b0cadb616b1d4c4a834bffa3..d375b9ac2cf2b67c731d3469124bbb92e1705ee3 100644 |
--- a/chrome/browser/ui/webui/history_ui.h |
+++ b/chrome/browser/ui/webui/history_ui.h |
@@ -51,7 +51,7 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler, |
// - WEEK: the last 7 days. |
// - MONTH: the last calendar month. |
enum Range { |
- ALLTIME = 0, |
+ ALL_TIME = 0, |
WEEK = 1, |
MONTH = 2 |
}; |
@@ -93,11 +93,11 @@ class BrowsingHistoryHandler : public content::WebUIMessageHandler, |
bool ExtractIntegerValueAtIndex( |
const base::ListValue* value, int index, int* out_int); |
- // Set the query options for a month-wide query. |
- void SetQueryTimeInMonths(history::QueryOptions* options); |
+ // Set the query options for a week-wide query, |offset| weeks ago. |
+ void SetQueryTimeInWeeks(int offset, history::QueryOptions* options); |
- // Set the query options for a week-wide query. |
- void SetQueryTimeInWeeks(history::QueryOptions* options); |
+ // Sets the query options for a monthly query, |offset| months ago. |
+ void SetQueryTimeInMonths(int offset, history::QueryOptions* options); |
content::NotificationRegistrar registrar_; |