Chromium Code Reviews
Description[Chromoting] Move app-specific code out of remoting.js
After this cl, the last remaining reference to remoting.AppMode in AppRemoting is in app_remoting.js. That will be addressed in a followup cl.
Move the following out of remoting.js and into app-specific locations:
* remoting.signOut (into crd_event_handlers.js)
* remoting.showErrorMessage (into desktop_remoting.js)
* isWindowed_ (into desktop_remoting.js)
* remoting.promptClose (into desktop_remoting.js)
* remoting.isMe2MeInstallable (into local_host_section.js)
Rename Delegate.signInFailed -> Delegate.handleAuthError
Add Application.onAuthError to call Delegate.handleAuthError
Change references to global remoting.showErrorMessage to remoting.app.onAuthError
BUG=
Committed: https://crrev.com/a59c430f5028228e62f780b2e129e93a4cb72843
Cr-Commit-Position: refs/heads/master@{#321502}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Add onError for HostSetupDialog #Patch Set 3 : review comments; sync; merge #Patch Set 4 : Update sessionConnector check #
Total comments: 2
Patch Set 5 : Make isMe2MeInstallable private #
Messages
Total messages: 13 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||