Index: chrome/common/extensions/api/history.json |
diff --git a/chrome/common/extensions/api/history.json b/chrome/common/extensions/api/history.json |
index 0009891ec162e293b650ccf644f19f7409e5f604..ce94a5a8e97a089f4f89b6b27d249ef57021e0a3 100644 |
--- a/chrome/common/extensions/api/history.json |
+++ b/chrome/common/extensions/api/history.json |
@@ -58,6 +58,30 @@ |
] |
}, |
{ |
+ "name": "getMostVisited", |
+ "type": "function", |
+ "description": "Retrieves most visited URLs on the time specified.", |
+ "parameters": [ |
+ { |
+ "name": "details", |
+ "type": "object", |
+ "properties": { |
+ "startTime": {"type": "number", "optional": true, "description": "Limit results to those visited between this and |endTime| on each day, represented in milliseconds since the epoch."}, |
+ "endTime": {"type": "number", "optional": true, "description": "Limit results to those visited between |startTime| and this on each day, represented in milliseconds since the epoch."}, |
+ "dayOfTheWeek": {"type": "integer", "optional": true, "minimum": 0, "description": "Limit results to those visited on this day of the week (0 - Sunday, 1 - Monday, etc.) starting with this week."}, |
+ "maxResults": {"type": "integer", "optional": true, "minimum": 0, "description": "The maximum number of results to retrieve. Defaults to 100."} |
+ } |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "parameters": [ |
+ { "name": "results", "type": "array", "items": { "$ref": "HistoryItem"} } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
"name": "getVisits", |
"type": "function", |
"description": "Retrieves information about visits to a URL.", |