Index: remoting/webapp/unittests/chrome_mocks.js |
diff --git a/remoting/webapp/unittests/chrome_mocks.js b/remoting/webapp/unittests/chrome_mocks.js |
index be557855636f670b96d606acda9d95a7bfee9855..fb65437df899e00b4b730c8690f0967e134bcb42 100644 |
--- a/remoting/webapp/unittests/chrome_mocks.js |
+++ b/remoting/webapp/unittests/chrome_mocks.js |
@@ -9,6 +9,16 @@ Entry = function() {}; |
var chromeMocks = {}; |
+/** @constructor */ |
+chrome.Event = function() {}; |
+ |
+/** @param {Function} callback */ |
+chrome.Event.prototype.addListener = function(callback) {}; |
+ |
+/** @param {Function} callback */ |
+chrome.Event.prototype.removeListener = function(callback) {}; |
+ |
+ |
(function(){ |
/** |