Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: remoting/webapp/js_proto/sinon_proto.js

Issue 944183002: HostTableEntry refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Jamie's feedback Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/js_proto/qunit_proto.js ('k') | remoting/webapp/js_proto/sinon_stub_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/sinon_proto.js
diff --git a/remoting/webapp/js_proto/sinon_proto.js b/remoting/webapp/js_proto/sinon_proto.js
index bc39ea5146171e52e34ccc60bc45b3db7fa7c422..f33d15f71dbecff985d71eb46e2a318b0ea8b5e0 100644
--- a/remoting/webapp/js_proto/sinon_proto.js
+++ b/remoting/webapp/js_proto/sinon_proto.js
@@ -94,9 +94,10 @@ sinon.Spy.prototype.reset = function() {};
/**
* @param {Object} obj
* @param {string} method
+ * @param {Function=} opt_stubFunction
* @return {sinon.TestStub}
*/
-sinon.stub = function(obj, method) {};
+sinon.stub = function(obj, method, opt_stubFunction) {};
/** @constructor */
sinon.TestStub = function() {};
« no previous file with comments | « remoting/webapp/js_proto/qunit_proto.js ('k') | remoting/webapp/js_proto/sinon_stub_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698