It2me native messaging host: webapp implementation.
commit0b833bd5a7fc48226a08adae38628c4bc289a473
authorweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 31 Jan 2014 09:36:59 +0000 (31 09:36 +0000)
committerweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 31 Jan 2014 09:36:59 +0000 (31 09:36 +0000)
treec58624a3045392bd50793a8e2b271a9e4bc8ca6f
parent81829ec2b9a3b67af6f36a563c4293932952ab61
It2me native messaging host: webapp implementation.

The webapp implementation of the it2me native messaging is based on the me2me couterpart. But I got rid of the per-message onDone/onError callbacks because unlike me2me, all requests to the it2me host are asynchronous: direct responses to all requests are meaningless. Only the asynchronous callbacks on host state change and nat policy update need to be processed.

I verified that this is fully functional on Linux. Windows and Mac verification haven't been done and are planned after the linux work is completed.

BUG=309844

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248072

Review URL: https://codereview.chromium.org/138503009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248157 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
remoting/host/it2me/it2me_native_messaging_host_main.cc
remoting/host/plugin/host_script_object.cc
remoting/remoting_host.gypi
remoting/remoting_webapp_files.gypi
remoting/webapp/all_js_load.gtestjs
remoting/webapp/host_controller.js
remoting/webapp/host_it2me_dispatcher.js [new file with mode: 0644]
remoting/webapp/host_it2me_native_messaging.js [new file with mode: 0644]
remoting/webapp/host_screen.js
remoting/webapp/host_session.js
remoting/webapp/main.html
remoting/webapp/remoting.js