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

Unified Diff: remoting/webapp/host_setup_dialog.js

Issue 232223003: Windows chromoting host installation via the NPAPI plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests Created 6 years, 8 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/host_dispatcher.js ('k') | remoting/webapp/js_proto/remoting_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_setup_dialog.js
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js
index 800770b5af62839f838b78a3e1a83fcb123c4b52..f8c12bf3853001b0d82d2dcb6ab2392237ec80e6 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -372,7 +372,9 @@ remoting.HostSetupDialog.prototype.installHost_ = function() {
var installed =
state != remoting.HostController.State.NOT_INSTALLED &&
state != remoting.HostController.State.INSTALLING;
- if (installed) {
+
+ // On Windows we perform the host installation after showing the pin form.
+ if (installed || navigator.platform == 'Win32') {
that.flow_.switchToNextStep();
that.updateState_();
} else {
« no previous file with comments | « remoting/webapp/host_dispatcher.js ('k') | remoting/webapp/js_proto/remoting_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698