| Index: chrome/test/data/webui/md_history/test_util.js
|
| diff --git a/chrome/test/data/webui/md_history/test_util.js b/chrome/test/data/webui/md_history/test_util.js
|
| index d0a3fc433140dc1161ffcea40af71e00f5ffab85..f578d0474a7d8d82d61cd1bdf12dc365cb812a76 100644
|
| --- a/chrome/test/data/webui/md_history/test_util.js
|
| +++ b/chrome/test/data/webui/md_history/test_util.js
|
| @@ -55,3 +55,19 @@ function createSearchEntry(timestamp, urlStr) {
|
|
|
| return entry;
|
| }
|
| +
|
| +/**
|
| + * Create a simple HistoryInfo.
|
| + * @param {?string} searchTerm The search term that the info has. Will be empty
|
| + * string if not specified.
|
| + * @return {!HistoryInfo}
|
| + */
|
| +function createHistoryInfo(searchTerm) {
|
| + return {
|
| + finished: true,
|
| + hasSyncedResults: false,
|
| + queryEndTime: 'Monday',
|
| + queryStartTime: 'Tuesday',
|
| + term: searchTerm || ''
|
| + };
|
| +}
|
|
|