Index: chrome/browser/resources/google_now/background_test_util.js |
diff --git a/chrome/browser/resources/google_now/background_test_util.js b/chrome/browser/resources/google_now/background_test_util.js |
index a2309c1369db30bd30875107e5fec8321d2d4d27..a3d8e284e51cb36e7590e32e3d5a31fc947d10e9 100644 |
--- a/chrome/browser/resources/google_now/background_test_util.js |
+++ b/chrome/browser/resources/google_now/background_test_util.js |
@@ -6,7 +6,10 @@ |
function emptyMock() {} |
function buildTaskManager() { |
- return {instrumentApiFunction: emptyMock}; |
+ return { |
+ debugSetStepName: emptyMock, |
+ instrumentApiFunction: emptyMock, |
+ }; |
} |
var instrumentApiFunction = emptyMock; |
var buildAttemptManager = emptyMock; |
@@ -19,6 +22,11 @@ chrome['notifications'] = { |
onClosed: emptyListener |
}; |
chrome['omnibox'] = {onInputEntered: emptyListener}; |
+chrome['preferencesPrivate'] = { |
+ googleGeolocationAccessEnabled: { |
+ onChange: emptyListener |
+ } |
+}; |
chrome['runtime'] = { |
onInstalled: emptyListener, |
onStartup: emptyListener |