summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Remoting host policy for mac.dmaclach@chromium.org2011-08-271-2/+76
| | | | | | | | | | | | | BUG=NONE TEST=1) Start remoting session with Mac as host 2) Go to the preferences file for the browser (com.google.Chrome.plist) 3) Add a bool pref "RemoteAccessHostFirewallTraversal" set to NONE 4) Wait 15 minutes 5) You should not be able to do NAT traversal. Review URL: http://codereview.chromium.org/7748027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98546 0039d316-1c4b-4281-b951-d872f2087c98
* Added hot-key for toggleDebugLogjamiewalch@google.com2011-08-261-3/+11
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7761009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98516 0039d316-1c4b-4281-b951-d872f2087c98
* IqRequest implementations: calls the callback when response is received.sergeyu@chromium.org2011-08-262-2/+2
| | | | | | | | | BUG=None TEST=Chromoting host works. Review URL: http://codereview.chromium.org/7744058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98455 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some overly verbose logging.isherman@chromium.org2011-08-261-2/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7746006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98386 0039d316-1c4b-4281-b951-d872f2087c98
* Use a split toggle button to reflect scaling state.jamiewalch@google.com2011-08-267-27/+33
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7718008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98366 0039d316-1c4b-4281-b951-d872f2087c98
* Removed test code accidentally checked in and set plugin margins to zero.jamiewalch@google.com2011-08-262-7/+1
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7747029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98365 0039d316-1c4b-4281-b951-d872f2087c98
* Use new callbacks in the IqRequest interface.sergeyu@chromium.org2011-08-2610-32/+35
| | | | | | | | | BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/7744041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98356 0039d316-1c4b-4281-b951-d872f2087c98
* Updated strings following UX review.jamiewalch@google.com2011-08-253-24/+36
| | | | | | | | | BUG=93545, 91760 TEST=Manual Review URL: http://codereview.chromium.org/7744037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98354 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid null dereference in updateStatistics().lambroslambrou@google.com2011-08-251-0/+2
| | | | | | | | | BUG=94101 TEST=Manual Review URL: http://codereview.chromium.org/7744043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98350 0039d316-1c4b-4281-b951-d872f2087c98
* Move P2P code to content namespace.sergeyu@chromium.org2011-08-253-12/+14
| | | | | | | | | BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/7715020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98294 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed continue window bugs and added 60s auto-shutdown timeout.jamiewalch@google.com2011-08-256-13/+61
| | | | | | | | | BUG=92415 TEST=Manual Review URL: http://codereview.chromium.org/7714026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98253 0039d316-1c4b-4281-b951-d872f2087c98
* Call SendIq() from plugin asynchronously.sergeyu@chromium.org2011-08-242-24/+25
| | | | | | | | | BUG=93951 TEST=Client doesn't crash when disconnecting Review URL: http://codereview.chromium.org/7730002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98139 0039d316-1c4b-4281-b951-d872f2087c98
* Add build step to verify the l10n strings are not out of sync.jamiewalch@google.com2011-08-244-15/+151
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7631055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98064 0039d316-1c4b-4281-b951-d872f2087c98
* Trampoline MessageReader::OnMessageDone() to correct thread.lambroslambrou@chromium.org2011-08-245-7/+92
| | | | | | | | | | | | | | | | | | This ensures that all socket operations occur on one thread, even when MessageReader::message_received_callback_ punts its Task parameter onto another thread. Fixes a Host plugin crash on Linux during a remote desktop session. In this case, the problem was caused by EventExecutorLinux::Inject{Key|Mouse}Event() doing the injection and the "done" task on a different thread. BUG=None TEST=Unit-test: MessageReaderTest.UseSocketOnCorrectThread Review URL: http://codereview.chromium.org/7695010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97974 0039d316-1c4b-4281-b951-d872f2087c98
* Properly handle errors received in response to session messages.sergeyu@chromium.org2011-08-242-15/+56
| | | | | | | | | BUG=93531 TEST=Client shows error when host is down. Review URL: http://codereview.chromium.org/7685045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97956 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DisableOCSP().sergeyu@chromium.org2011-08-231-0/+5
| | | | | | | | | | | Instead of calling DisableOCSP() all SSL socket used in sandbox should be created with reb_checking_enabled flag set to false. BUG=93273 TEST=None Review URL: http://codereview.chromium.org/7685040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97918 0039d316-1c4b-4281-b951-d872f2087c98
* Make client disconnect message endpoint-neutral and show it for host disconnect.jamiewalch@google.com2011-08-233-18/+27
| | | | | | | | | BUG=93461, 93462 TEST=Manual (use remoting.setMode) Review URL: http://codereview.chromium.org/7712015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97786 0039d316-1c4b-4281-b951-d872f2087c98
* Removed question-mark from Help link. Set minimum button size. Added ↵jamiewalch@google.com2011-08-234-2/+10
| | | | | | | | | | | tool-bar preview. BUG=93464, 93452 TEST=Manual Review URL: http://codereview.chromium.org/7708016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97779 0039d316-1c4b-4281-b951-d872f2087c98
* Use plugin main thread for network code on the client sidesergeyu@chromium.org2011-08-228-34/+62
| | | | | | | | | BUG=None TEST=Everything still works. Review URL: http://codereview.chromium.org/7655060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97706 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Get rid of a static variable of a std::string type, which is ↵tfarina@chromium.org2011-08-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | forbidden. I'm removing it because it isn't used anywhere else. Otherwise it would be converted to: static const char kCreateSessionURL[] = "/create_session"; Or even better: namespace { const char kCreateSessionURL[] = "/create_session"; } // namespace BUG=83856 TEST=None R=hclam@chromium.org Review URL: http://codereview.chromium.org/7695017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97627 0039d316-1c4b-4281-b951-d872f2087c98
* Use plugin message loop for main loop in the client plugin.sergeyu@chromium.org2011-08-2119-177/+272
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7669037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of DesktopEnvironment creation failure.wez@chromium.org2011-08-201-4/+4
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7694013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97570 0039d316-1c4b-4281-b951-d872f2087c98
* Parsers and formatters for jingle messages.sergeyu@chromium.org2011-08-1910-14/+783
| | | | | | | | | | BUG=51198 TEST=Unittests Review URL: http://codereview.chromium.org/7677042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97535 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed web-app share error handling.jamiewalch@google.com2011-08-192-2/+10
| | | | | | | | | BUG=None TEST=Wait for our bigtable cell to fail and try to share. Alternatively, just unplug the network cable (although this is a different failure mode). Review URL: http://codereview.chromium.org/7697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97530 0039d316-1c4b-4281-b951-d872f2087c98
* Replace debug button with Help. Add 'securely' to host description.jamiewalch@google.com2011-08-192-9/+7
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7694007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97502 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed tool-bar position to make it window- instead of document-relative.jamiewalch@google.com2011-08-191-1/+1
| | | | | | | | | BUG=92549 TEST=Manual Review URL: http://codereview.chromium.org/7694011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97498 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed horizontal scrollbar.jamiewalch@google.com2011-08-191-1/+0
| | | | | | | | | BUG=93450 TEST=Manual Review URL: http://codereview.chromium.org/7695002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97485 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ffmpeg/libvpx deps to switch to ffvp8.scherkus@chromium.org2011-08-193-22/+2
| | | | | | | | | BUG=50811 TEST=remoting_unittests, media_unittests, layout tests Review URL: http://codereview.chromium.org/7657005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97421 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in Chromoting's logger when a client connects to multiple hosts.garykac@chromium.org2011-08-184-24/+92
| | | | | | | | | | BUG=92234 TEST=manual Review URL: http://codereview.chromium.org/7666001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97388 0039d316-1c4b-4281-b951-d872f2087c98
* Make ChromotingHost::ui_strings() immutable. Use string16 for localized strings.sergeyu@chromium.org2011-08-189-69/+79
| | | | | | | | | | | | | | | | | There were two issues: - ui_strings() were mutable which creates possibility for race condition. Made it immutable, and added SetUiString() which can be called only before session is started. - strings were loaded after host is started which sometimes leads to non-localized string being shown. Particularly I often saw empty text on Disconnect button. BUG=None TEST=Disconnect button text is always localized. Review URL: http://codereview.chromium.org/7669045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97376 0039d316-1c4b-4281-b951-d872f2087c98
* Unify gyp rules for running protoc.evan@chromium.org2011-08-182-119/+10
| | | | | | | | | | | | | - Add a protoc.gypi that can be gyp-included into any gyp file that wants to build .proto files. - Convert two remoting gyp files to use this new protoc.gypi. (Also fixes a bug in one of those remoting gyp files; a mistaken path was causing it to always rebuild under Xcode.) Review URL: http://codereview.chromium.org/7621073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97366 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed footer i18n so that 3 entries are no longer needed.jamiewalch@google.com2011-08-186-178/+201
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7661033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97340 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Windows NAT traversal policy support for the Chromoting host plugin.ajwong@chromium.org2011-08-176-119/+341
| | | | | | | | | BUG=92576 TEST=change policy from traversal enabled -> disabled while host is running and make sure it disconnects. Review URL: http://codereview.chromium.org/7664006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97220 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up init sequence for capturer.dmaclach@chromium.org2011-08-177-35/+80
| | | | | | | | | | BUG=79045 TEST=Build and run Review URL: http://codereview.chromium.org/7645037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97161 0039d316-1c4b-4281-b951-d872f2087c98
* Add PluginMessageLoopProxy and use it for Host plugin UI thread.sergeyu@chromium.org2011-08-1614-133/+317
| | | | | | | | | | | The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Review URL: http://codereview.chromium.org/7635030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97060 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97050 - Add PluginMessageLoopProxy and use it for Host plugin UI thread.sergeyu@chromium.org2011-08-1614-316/+133
| | | | | | | | | | | | | | | | The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96981 Review URL: http://codereview.chromium.org/7635030 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7655006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97053 0039d316-1c4b-4281-b951-d872f2087c98
* Add PluginMessageLoopProxy and use it for Host plugin UI thread.sergeyu@chromium.org2011-08-1614-133/+316
| | | | | | | | | | | | | The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96981 Review URL: http://codereview.chromium.org/7635030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97050 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed up issue with changing screen resolution on Mac host causing crashes.dmaclach@chromium.org2011-08-161-59/+89
| | | | | | | | | | BUG=92353 TEST=Start up remoting session with mac as host. Start changing the resolution. Review URL: http://codereview.chromium.org/7649025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97046 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96981 - Add PluginMessageLoopProxy and use it for Host plugin UI thread.sergeyu@chromium.org2011-08-1614-316/+133
| | | | | | | | | | | | | | The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Review URL: http://codereview.chromium.org/7635030 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7665002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96984 0039d316-1c4b-4281-b951-d872f2087c98
* Add PluginMessageLoopProxy and use it for Host plugin UI thread.sergeyu@chromium.org2011-08-1614-133/+316
| | | | | | | | | | | The new class will also be used in the client plugin for the main plugin thread. BUG=None TEST=Everything works. Review URL: http://codereview.chromium.org/7635030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96981 0039d316-1c4b-4281-b951-d872f2087c98
* Host process i18n and Linux implementation.jamiewalch@google.com2011-08-1617-69/+287
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7635012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96972 0039d316-1c4b-4281-b951-d872f2087c98
* Framework to allow Chromoting host to respect NAT traversal policy in linux.ajwong@chromium.org2011-08-159-8/+596
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7599017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96859 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scaling calculation.lambroslambrou@google.com2011-08-151-10/+5
| | | | | | | | | BUG=92342 TEST=Verify scale-to-fit works with fat,narrow + tall,thin windows. Review URL: http://codereview.chromium.org/7633045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96823 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-1511-16/+16
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up confirmation window not reshowing.dmaclach@chromium.org2011-08-121-1/+2
| | | | | | | | | BUG=92498 TEST=With remoting, Connect and keep the session there for > 10m, hit continue and do it again. Expect dialog to come up again. Review URL: http://codereview.chromium.org/7650003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96652 0039d316-1c4b-4281-b951-d872f2087c98
* Use MessageLoopProxy for network message loop.sergeyu@chromium.org2011-08-1263-184/+303
| | | | | | | | | | | | | When we switch to P2P Pepper API we will need to run networking code on the main plugin thread. Switching to MessageLoopProxy for network thread, so that it's easier to switch network thread in the future. BUG=None TEST=None Review URL: http://codereview.chromium.org/7633009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96651 0039d316-1c4b-4281-b951-d872f2087c98
* Properly handle screen recorder shutdown in ChromotingHost.sergeyu@chromium.org2011-08-125-47/+71
| | | | | | | | | BUG=91620 TEST=Host doesn't crash when shutting down. Review URL: http://codereview.chromium.org/7635005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96645 0039d316-1c4b-4281-b951-d872f2087c98
* Switch over to using SkRegions to calculate dirty areas.dmaclach@chromium.org2011-08-1231-470/+445
| | | | | | | | | | | BUG=91619 TEST=Set up a remoting sesssion and make sure it works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96327 Review URL: http://codereview.chromium.org/7491070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96632 0039d316-1c4b-4281-b951-d872f2087c98
* Make Disconnect buttons wider to accomodate the hotkey info.garykac@google.com2011-08-121-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7640022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96621 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Disconnect hot key in Windows.garykac@google.com2011-08-121-15/+47
| | | | | | Review URL: http://codereview.chromium.org/7613009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96574 0039d316-1c4b-4281-b951-d872f2087c98