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

Side by Side Diff: remoting/webapp/background/background.js

Issue 571463003: Fix JSCompile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** @suppress {duplicate} */ 5 /** @suppress {duplicate} */
6 var remoting = remoting || {}; 6 var remoting = remoting || {};
7 7
8 (function(){ 8 (function(){
9 9
10 /** @param {remoting.AppLauncher} appLauncher */ 10 /** @param {remoting.AppLauncher} appLauncher */
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 }); 54 });
55 55
56 remoting.settings = new remoting.Settings(); 56 remoting.settings = new remoting.Settings();
57 57
58 chrome.runtime.onSuspendCanceled.addListener(initializeIt2MeService); 58 chrome.runtime.onSuspendCanceled.addListener(initializeIt2MeService);
59 initializeIt2MeService(); 59 initializeIt2MeService();
60 } 60 }
61 61
62 function main() { 62 function main() {
63 if (base.isAppsV2()) { 63 if (base.isAppsV2()) {
64 appLauncher = new remoting.V2AppLauncher(); 64 var appLauncher = new remoting.V2AppLauncher();
65 initializeAppV2(appLauncher); 65 initializeAppV2(appLauncher);
66 } 66 }
67 } 67 }
68 68
69 remoting.enableHangoutsRemoteAssistance = function() { 69 remoting.enableHangoutsRemoteAssistance = function() {
70 /** @type {remoting.AppLauncher} */ 70 /** @type {remoting.AppLauncher} */
71 var appLauncher = base.isAppsV2() ? new remoting.V1AppLauncher(): 71 var appLauncher = base.isAppsV2() ? new remoting.V1AppLauncher():
72 new remoting.V2AppLauncher(); 72 new remoting.V2AppLauncher();
73 initializeBackgroundService(appLauncher); 73 initializeBackgroundService(appLauncher);
74 }; 74 };
75 75
76 window.addEventListener('load', main, false); 76 window.addEventListener('load', main, false);
77 77
78 }()); 78 }());
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698