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

Side by Side Diff: chrome/browser/resources/hotword/logging.js

Issue 658393003: Fix some straight-forward closure compiler errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the @class annotation. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('hotword', function() { 5 cr.define('hotword', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * Wrapper around console.log allowing debug log message to be enabled during 9 * Wrapper around console.log allowing debug log message to be enabled during
10 * development. 10 * development.
11 * @param {...*} varArgs
11 */ 12 */
12 function debug() { 13 function debug(varArgs) {
13 if (hotword.DEBUG || window.localStorage['hotword.DEBUG']) 14 if (hotword.DEBUG || window.localStorage['hotword.DEBUG'])
14 console.log.apply(console, arguments); 15 console.log.apply(console, arguments);
15 } 16 }
16 17
17 return { 18 return {
18 DEBUG: false, 19 DEBUG: false,
19 debug: debug 20 debug: debug
20 }; 21 };
21 }); 22 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/hotword/launcher_manager.js ('k') | chrome/browser/resources/hotword/nacl_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698