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

Side by Side Diff: remoting/webapp/crd/js/host_installer.js

Issue 2347923002: Change Chrome Remote Desktop MSI download link to use HTTPS (Closed)
Patch Set: Created 4 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 7 *
8 * HostInstaller allows the caller to download the host binary and monitor the 8 * HostInstaller allows the caller to download the host binary and monitor the
9 * install progress of the host by pinging the host periodically via native 9 * install progress of the host by pinging the host periodically via native
10 * messaging. 10 * messaging.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 port.onDisconnect.addListener(onDisconnected); 72 port.onDisconnect.addListener(onDisconnected);
73 port.onMessage.addListener(onMessage); 73 port.onMessage.addListener(onMessage);
74 port.postMessage({type: 'hello'}); 74 port.postMessage({type: 'hello'});
75 }); 75 });
76 }; 76 };
77 77
78 /** @type {Object<string>} */ 78 /** @type {Object<string>} */
79 var HOST_DOWNLOAD_URLS = { 79 var HOST_DOWNLOAD_URLS = {
80 'Win32': 'http://dl.google.com/dl/edgedl/chrome-remote-desktop/' + 80 'Win32': 'https://dl.google.com/dl/edgedl/chrome-remote-desktop/' +
81 'chromeremotedesktophost.msi', 81 'chromeremotedesktophost.msi',
82 'Win64': 'http://dl.google.com/dl/edgedl/chrome-remote-desktop/' + 82 'Win64': 'https://dl.google.com/dl/edgedl/chrome-remote-desktop/' +
83 'chromeremotedesktophost.msi', 83 'chromeremotedesktophost.msi',
84 'MacIntel': 'https://dl.google.com/chrome-remote-desktop/' + 84 'MacIntel': 'https://dl.google.com/chrome-remote-desktop/' +
85 'chromeremotedesktop.dmg', 85 'chromeremotedesktop.dmg',
86 'Linux x86_64': 'https://dl.google.com/linux/direct/' + 86 'Linux x86_64': 'https://dl.google.com/linux/direct/' +
87 'chrome-remote-desktop_current_amd64.deb', 87 'chrome-remote-desktop_current_amd64.deb',
88 'Linux i386': 'https://dl.google.com/linux/direct/' + 88 'Linux i386': 'https://dl.google.com/linux/direct/' +
89 'chrome-remote-desktop_current_i386.deb', 89 'chrome-remote-desktop_current_i386.deb',
90 'Linux i686': 'https://dl.google.com/linux/direct/' + 90 'Linux i686': 'https://dl.google.com/linux/direct/' +
91 'chrome-remote-desktop_current_i386.deb' 91 'chrome-remote-desktop_current_i386.deb'
92 }; 92 };
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 */ 166 */
167 remoting.HostInstaller.prototype.cancel = function() { 167 remoting.HostInstaller.prototype.cancel = function() {
168 if (this.checkInstallIntervalId_ !== null) { 168 if (this.checkInstallIntervalId_ !== null) {
169 window.clearInterval(this.checkInstallIntervalId_); 169 window.clearInterval(this.checkInstallIntervalId_);
170 this.checkInstallIntervalId_ = null; 170 this.checkInstallIntervalId_ = null;
171 } 171 }
172 this.downloadAndWaitForInstallPromise_ = null; 172 this.downloadAndWaitForInstallPromise_ = null;
173 }; 173 };
174 174
175 })(); 175 })();
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