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

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

Issue 399273003: Add unit test for l10n.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/remoting_webapp_files.gypi ('k') | remoting/webapp/unittests/l10n_unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/chrome_proto.js
diff --git a/remoting/webapp/js_proto/chrome_proto.js b/remoting/webapp/js_proto/chrome_proto.js
index 255f18c866296e495421cd3310f5c638794211f2..3c1a7bbb99f90cbc31b6dc16eb73aa61e90d6717 100644
--- a/remoting/webapp/js_proto/chrome_proto.js
+++ b/remoting/webapp/js_proto/chrome_proto.js
@@ -248,10 +248,10 @@ chrome.permissions = {
/** @type {Object} */
-chrome.tabs;
+chrome.tabs = {};
/** @param {function(chrome.Tab):void} callback */
-chrome.tabs.getCurrent = function(callback) {}
+chrome.tabs.getCurrent = function(callback) {};
/** @constructor */
chrome.Tab = function() {
@@ -263,12 +263,12 @@ chrome.Tab = function() {
/** @type {Object} */
-chrome.windows;
+chrome.windows = {};
/** @param {number} id
* @param {Object?} getInfo
* @param {function(chrome.Window):void} callback */
-chrome.windows.get = function(id, getInfo, callback) {}
+chrome.windows.get = function(id, getInfo, callback) {};
/** @constructor */
chrome.Window = function() {
« no previous file with comments | « remoting/remoting_webapp_files.gypi ('k') | remoting/webapp/unittests/l10n_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698