summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Move icons to OS-specific directories.lambroslambrou@google.com2011-07-198-0/+0
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7418001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92932 0039d316-1c4b-4281-b951-d872f2087c98
* Make Chromoting plugin name consistent - change Windows to match other ↵garykac@google.com2011-07-191-3/+3
| | | | | | | | | | platforms. BUG=none TEST=none Review URL: http://codereview.chromium.org/7326025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92928 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up VideoFrame::CreateXXX and VideoFrame::AllocXXX methods.scherkus@chromium.org2011-07-182-11/+9
| | | | | | | | No need to confuse people with potentially-NULL pointers due to out-of-memory conditions. Review URL: http://codereview.chromium.org/7396007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92917 0039d316-1c4b-4281-b951-d872f2087c98
* Add toolbar files to IT2Me project in Chromoting gyp.garykac@chromium.org2011-07-181-1/+3
| | | | | | | | | | | | Fix alpha-order for IT2ME project files. BUG=none TEST=none Review URL: http://codereview.chromium.org/7401026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92902 0039d316-1c4b-4281-b951-d872f2087c98
* Improve error handling when trying to connect to host.lambroslambrou@chromium.org2011-07-183-22/+38
| | | | | | | | | | BUG=73108 TEST=Connect to a host after disabling network. Review URL: http://codereview.chromium.org/7388005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92881 0039d316-1c4b-4281-b951-d872f2087c98
* Add platform-specific icons for Chromoting webapp.lambroslambrou@google.com2011-07-189-0/+0
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7399014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92865 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-171-2/+2
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use X509Certificate in chromoting code.sergeyu@chromium.org2011-07-1616-95/+69
| | | | | | | | | | | | X509Certificate currently is not usable in sandbox on Mac. Don't use it in chromoting code. BUG=80587 TEST=Unittests Review URL: http://codereview.chromium.org/7401005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92772 0039d316-1c4b-4281-b951-d872f2087c98
* Replace in-session header with auto-hide tool-bar.jamiewalch@google.com2011-07-155-48/+127
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7383015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92746 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused methods in ChromotingInstance.hclam@chromium.org2011-07-152-16/+0
| | | | | | | | | | | | ViewChanged is actually not used and no one is calling it. Remove it to prepare for more optimizations for rendering. BUG=None TEST=None Review URL: http://codereview.chromium.org/7376006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92719 0039d316-1c4b-4281-b951-d872f2087c98
* Move channel initialization logic to JingleChannel class.sergeyu@chromium.org2011-07-1512-344/+672
| | | | | | | | | | | | | Added new CreateChannel() method in Session interface. The new method can be used to create arbitrary channels. BUG=None TEST=Unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92641 Review URL: http://codereview.chromium.org/7326024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92712 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for bad driver issue with NVIDIA GeForce 7300 GT on Mac 10.5.dmaclach@chromium.org2011-07-151-0/+10
| | | | | | | | | BUG=87283 TEST=Run on a machine with NVIDIA GeForce 7300 GT on Mac 10.5 immediately after booting. Review URL: http://codereview.chromium.org/7373018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92651 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92641 because it doesn't compile - Move channel initialization logic ↵sadrul@chromium.org2011-07-1512-672/+344
| | | | | | | | | | | | | | | | to JingleChannel class. Added new CreateChannel() method in Session interface. The new method can be used to create arbitrary channels. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7326024 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7385002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92642 0039d316-1c4b-4281-b951-d872f2087c98
* Move channel initialization logic to JingleChannel class.sergeyu@chromium.org2011-07-1512-344/+672
| | | | | | | | | | | Added new CreateChannel() method in Session interface. The new method can be used to create arbitrary channels. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7326024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92641 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CommandLine::GetArgs(), update callers.msw@chromium.org2011-07-131-1/+1
| | | | | | | | | BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7352006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92448 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TCP connections for chromotinghclam@chromium.org2011-07-131-2/+8
| | | | | | | | | | | | | | | Chromoting always runs PseudoTcp on top of jingle connections. Sometimes this jingle connection is a TCP connection and it destroys performance completely. Until we can bypass PseudoTcp when TCP connection is established and understand the connection establishing algorithm we only UDP for now, which is known to work best. BUG=None TEST=None Review URL: http://codereview.chromium.org/7344002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92407 0039d316-1c4b-4281-b951-d872f2087c98
* Roll new libjingle with asynchronous NetworkManager.sergeyu@chromium.org2011-07-131-1/+1
| | | | | | | | | BUG=84243 TEST=Unittests Review URL: http://codereview.chromium.org/7338003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92384 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup threading for Chromoting's logging code.garykac@chromium.org2011-07-137-136/+87
| | | | | | | | | | | Move va_Log and va_VLog into base remoting::Logger class to remove duplicate code and simplify the host/client loggers. BUG=88792 TEST=none Review URL: http://codereview.chromium.org/7285047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92282 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/values.h into the base namespace. This includes a cros DEPS rolldmazzoni@chromium.org2011-07-122-3/+5
| | | | | | | | | | with a minor change to that code since libcros also uses base/values.h. BUG=88666 TEST=none Review URL: http://codereview.chromium.org/7259019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-113-18/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed mode header display bug and made our methods for hiding elements more ↵jamiewalch@google.com2011-07-112-40/+13
| | | | | | | | | | | consistent. BUG= TEST= Review URL: http://codereview.chromium.org/7324034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92035 0039d316-1c4b-4281-b951-d872f2087c98
* Release all keys on blur.jamiewalch@google.com2011-07-087-4/+63
| | | | | | | | | BUG=84285 TEST=Manual Review URL: http://codereview.chromium.org/7316011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91914 0039d316-1c4b-4281-b951-d872f2087c98
* Don't hide host plugin. Temporary fix for host plugin logging crash.jamiewalch@google.com2011-07-082-3/+7
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7331022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91911 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SocketWrapper, which should no longer be needed since we're ↵wez@chromium.org2011-07-085-154/+20
| | | | | | | | | | | | explicitly telling writers not to touch channels in CloseInternal(). BUG= TEST=Unit-tests should pass. End-to-end remoting sessions should not make calls to deleted StreamSocket instances for channels during shutdown. Review URL: http://codereview.chromium.org/7289032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91874 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Move set(Client|Host)Mode into remoting namespace.garykac@chromium.org2011-07-081-21/+18
| | | | | | | | | | | | | | | | | | | Likewise for cancelPendingOperation. This fixes failing JS calls from choice.html (e.g., "OK" button for "Invalid Access Code") Also replace occurrences of: function f() {} remoting.f = f; with: remoting.f = function() {} to be consistent. BUG=none TEST=none Review URL: http://codereview.chromium.org/7329011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91871 0039d316-1c4b-4281-b951-d872f2087c98
* Mark failing channel tests flaky, for investigation ASAP.wez@chromium.org2011-07-081-3/+6
| | | | | | | | | | BUG=88726 TEST=Test<foo>Channel tests do not cause the tree to close. Review URL: http://codereview.chromium.org/7324015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91802 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed version check in client_session.jsjamiewalch@google.com2011-07-081-1/+1
| | | | | | | | | BUG=None TEST=Connections work again. Review URL: http://codereview.chromium.org/7331005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91794 0039d316-1c4b-4281-b951-d872f2087c98
* Conenct Chromoting plugin debug log to JS UI.garykac@chromium.org2011-07-0716-66/+212
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91779 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Move host input and window mgmt into DesktopEnvironmentgarykac@chromium.org2011-07-076-129/+175
| | | | | | | | | | | | | | Hide details of window management and continue timers in the DesktopEnvironment class and expose OnConnect, OnLastDisconnect and OnPause methods. Move all host input monitor code into DesktopEnvironment as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/7312019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91764 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanups in JingleSession and JingleSessionManager.sergeyu@chromium.org2011-07-0711-75/+69
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7312013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91751 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issues in IT2Me webapp caused by r91658.sergeyu@chromium.org2011-07-072-3/+3
| | | | | | | | | | | | | 1. Elemnt IDs were updated in chroice.html, but not in remoting.js 2. Plugin container must not be hidden, otherwise the plugin doesn't load. BUG=None TEST=IT2Me host works. Review URL: http://codereview.chromium.org/7277088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91750 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DCHECK from HeartbeatSender::OnSignallingDisconnected()lambroslambrou@chromium.org2011-07-071-1/+0
| | | | | | | | | | | | | | | | Allow that method to be called without a corresponding call to OnSignalConnected() - the linked bug-report explains how this can happen. This is only a partial bug-fix; still need to address the problem of this method being called on the wrong thread from ChromotingHost::Shutdown(). BUG=83788 TEST=Manual Review URL: http://codereview.chromium.org/7307031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91737 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the background page, and majorly refactor Javascript + Webapp.ajwong@chromium.org2011-07-0717-812/+1041
| | | | | | | | | | | | | | This removes remoting_session.html, puts the "in-session" UI into the same page, uses classes to hide/display elements, and redefines what we mean by the <section> tag. Also takes a bunch of the javascript logic and makes classes out of it as well as detangling a bit of the UI manipulation from the behavior functions. BUG=none TEST=manual Review URL: http://codereview.chromium.org/7277020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91658 0039d316-1c4b-4281-b951-d872f2087c98
* Shutdown JingleSessionManager and SingalStartegy and send ↵sergeyu@chromium.org2011-07-072-18/+29
| | | | | | | | | | | OnSignallingDisconnected() on the right thread. TEST=None BUG=None. Review URL: http://codereview.chromium.org/7314014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91657 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Valgrind errors in remoting_unittests.sergeyu@chromium.org2011-07-076-61/+70
| | | | | | | | | | | | | - FakeSession was used after it is destroyed. - JingleThreadMessageLoop::Quit() was calling Thread::Stop() before all tasks are finished. - JingleSessionManager::AcceptConnection() would destroy JingleSession when called by that JingleSession. BUG=None TEST=Valgrind is happy. Review URL: http://codereview.chromium.org/7227017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91652 0039d316-1c4b-4281-b951-d872f2087c98
* Comment another failing DCHECK.sergeyu@chromium.org2011-07-071-3/+4
| | | | | | | | | BUG=88600 TEST=Chromoting Host works. Review URL: http://codereview.chromium.org/7275039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91648 0039d316-1c4b-4281-b951-d872f2087c98
* Comment DCHECK that fails on the host side.sergeyu@chromium.org2011-07-061-1/+4
| | | | | | | | | BUG=88600 TEST=Host doesn't crash Review URL: http://codereview.chromium.org/7319001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91629 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup Chromoting's Continue window:garykac@google.com2011-07-063-7/+38
| | | | | | | | | | | * Add Cancel button (to disconnect) * Update to use shared strings (rather than from win-specific template) BUG=87459 TEST=manual Review URL: http://codereview.chromium.org/7232033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91619 0039d316-1c4b-4281-b951-d872f2087c98
* Improvements to Linux Disconnect/Continue windows.lambroslambrou@chromium.org2011-07-062-63/+64
| | | | | | | | | | | | | | | | | | | | | | | * Use GtkDialog instead of GtkWindow - makes the code a lot simpler. * Improve window layout (add some padding). * Make ContinueWindow always-on-top, to stop it getting obscured. Not sure if this is really necessary. * Set urgency hint on ContinueWindow - makes it throb in the taskbar. * Modify Hide() methods to destroy the window, to avoid unnecessary memory-leaking for tests. * Hide the window when user clicks buttons, for instant feedback. Partially fixes crbug.com/87467 but not completely (the other window stays around if both were visible). * Add virtual destructors (coding-style fix). BUG=87467 TEST=Manual Review URL: http://codereview.chromium.org/7273077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91614 0039d316-1c4b-4281-b951-d872f2087c98
* Make Session and SessionManager not thread-safe and not ref-counted.sergeyu@chromium.org2011-07-0621-421/+353
| | | | | | | | | BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/7278013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91571 0039d316-1c4b-4281-b951-d872f2087c98
* Make JingleThreadMessageLoop usable without JingleThread.sergeyu@chromium.org2011-07-012-39/+49
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/7302002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91388 0039d316-1c4b-4281-b951-d872f2087c98
* net: Build net.dll on Windows.rvargas@google.com2011-07-011-0/+2
| | | | | | | | BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7281018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91360 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SessionManagerPair.sergeyu@chromium.org2011-07-014-173/+1
| | | | | | | | | | | SessionManagerPair is no longer needed. BUG=None TEST=None. Review URL: http://codereview.chromium.org/7291016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91244 0039d316-1c4b-4281-b951-d872f2087c98
* Close all writers before JingleSession is destroyed.sergeyu@chromium.org2011-06-3026-58/+159
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7218061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91225 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flag field to PP_CompletionCallback to control if the callback shouldpolina@google.com2011-06-301-2/+2
| | | | | | | | | | | | | | | always be invoked asynchronously on success or error or skipped if the operation can complete synchronously without blocking. Keep the default behavior as-is until clients update their code. Bump revisions of all interfaces that take callbacks as args. Update browser interface function implementations and C++ layer to force callbacks if sync option is not set. Change ppapi/tests to run tests involving callbacks with both flag options. BUG=79376 TEST=ppapi_tests + bots Review URL: http://codereview.chromium.org/6899055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91205 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in remoting_unittests.sergeyu@chromium.org2011-06-302-17/+30
| | | | | | | | | BUG=None TEST=valgrind is happy. Review URL: http://codereview.chromium.org/7283033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91077 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test for disabling curtain mode (and hiding DisconnectWindow, etc).wez@chromium.org2011-06-301-2/+2
| | | | | | | | | | BUG=87467 TEST= Review URL: http://codereview.chromium.org/7218064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91075 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use HttpPortAllocator when it is not neccessary.sergeyu@chromium.org2011-06-303-21/+25
| | | | | | | | | | | | HttpPortAllocator was making HTTP requests that we don't need when NAT traversing is disabled. BUG=None TEST=None Review URL: http://codereview.chromium.org/7273074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91063 0039d316-1c4b-4281-b951-d872f2087c98
* Initial continue window implementation on mac.dmaclach@chromium.org2011-06-307-14/+125
| | | | | | | | | BUG=NONE TEST=Connect and then wait for the "timeout" to make sure dialog appears. Review URL: http://codereview.chromium.org/7260006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91062 0039d316-1c4b-4281-b951-d872f2087c98
* PseudoTcp to expose settings of nagling and ACK delayhclam@chromium.org2011-06-302-16/+101
| | | | | | | | | | | | | | | | Changes are as follows: 1. PseudoTcp to expose whether Nagle's algo is turned on. 2. PseudoTcp to expose setting of ACK delay. 3. JingleSession to disable Nagle's algo. 4. Set ACK delay to 10 milliseconds. 5. Unit tests for testing jingle session latency. BUG=None TEST=None Review URL: http://codereview.chromium.org/7275024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91057 0039d316-1c4b-4281-b951-d872f2087c98