| Index: chrome/browser/resources/md_downloads/action_service.js
|
| diff --git a/chrome/browser/resources/md_downloads/action_service.js b/chrome/browser/resources/md_downloads/action_service.js
|
| index e065ee9d97ffde466a8a9b00f098c7d30f8aa495..6c10e035dbb43149082e683b864f6ad8a73aecbd 100644
|
| --- a/chrome/browser/resources/md_downloads/action_service.js
|
| +++ b/chrome/browser/resources/md_downloads/action_service.js
|
| @@ -100,7 +100,10 @@ cr.define('downloads', function() {
|
| */
|
| saveDangerous: chromeSendWithId('saveDangerous'),
|
|
|
| - /** @param {string} searchText What to search for. */
|
| + /**
|
| + * @param {string} searchText What to search for.
|
| + * @return {boolean} Whether |searchText| resulted in new search terms.
|
| + */
|
| search: function(searchText) {
|
| var searchTerms = ActionService.splitTerms(searchText);
|
| var sameTerms = searchTerms.length == this.searchTerms_.length;
|
| @@ -111,10 +114,11 @@ cr.define('downloads', function() {
|
| }
|
|
|
| if (sameTerms)
|
| - return;
|
| + return false;
|
|
|
| this.searchTerms_ = searchTerms;
|
| this.loadMore();
|
| + return true;
|
| },
|
|
|
| /**
|
|
|