| Index: chrome/test/data/webui/settings/test_search_engines_browser_proxy.js
|
| diff --git a/chrome/test/data/webui/settings/test_search_engines_browser_proxy.js b/chrome/test/data/webui/settings/test_search_engines_browser_proxy.js
|
| index a42bb95ff89360a8954e5bfe9c77f696c35fbf9b..d1b0b2d2d2d483274e552f29349209ddced97c37 100644
|
| --- a/chrome/test/data/webui/settings/test_search_engines_browser_proxy.js
|
| +++ b/chrome/test/data/webui/settings/test_search_engines_browser_proxy.js
|
| @@ -23,6 +23,7 @@ cr.define('settings_search', function() {
|
| 'validateSearchEngineInput',
|
| 'getHotwordInfo',
|
| 'setHotwordSearchEnabled',
|
| + 'getGoogleNowAvailability',
|
| ]);
|
|
|
| /** @type {boolean} */
|
| @@ -40,6 +41,9 @@ cr.define('settings_search', function() {
|
| userName: 'user@test.org',
|
| historyEnabled: false,
|
| };
|
| +
|
| + /** @type {boolean} */
|
| + this.googleNowAvailable = true;
|
| };
|
|
|
| TestSearchEnginesBrowserProxy.prototype = {
|
| @@ -96,6 +100,12 @@ cr.define('settings_search', function() {
|
| this.methodCalled('setHotwordSearchEnabled');
|
| },
|
|
|
| + /** @override */
|
| + getGoogleNowAvailability: function() {
|
| + this.methodCalled('getGoogleNowAvailability');
|
| + return Promise.resolve(this.googleNowAvailable);
|
| + },
|
| +
|
| /**
|
| * Sets the response to be returned by |getSearchEnginesList|.
|
| * @param {!SearchEnginesInfo} searchEnginesInfo
|
|
|