summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* VP8 decoder for chromotinghclam@chromium.org2010-09-295-3/+248
| | | | | | | | | | | Added DecoderVp8 and unit test for chromoting. TEST=remoting_unittests BUG=50235 Review URL: http://codereview.chromium.org/3032047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60960 0039d316-1c4b-4281-b951-d872f2087c98
* Implement VP8 encoder for chromotinghclam@chromium.org2010-09-287-169/+173
| | | | | | | | | | | Added EncoderVp8 with test for chromoting. TEST=remoting_unittests BUG=50235 Review URL: http://codereview.chromium.org/3005036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60854 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented basic support Chromotocol connection.sergeyu@chromium.org2010-09-2817-47/+1771
| | | | | | | | | | New code supports multiple PseudoTCP and UDP channels. Client and host still use old JjngleChannel for connection. BUG=53986 TEST=None Review URL: http://codereview.chromium.org/3319021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60842 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory problem in DecoderVerbatimhclam@chromium.org2010-09-282-3/+15
| | | | | | | | | | | | Change from c_str() to data() also did some boundary checks to make there's no memory error. BUG=None TEST=None Review URL: http://codereview.chromium.org/3388024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60746 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-1/+365
| | | | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60703 Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60721 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-364/+1
| | | | | | | | | | RectangleUpdateDecoder abstraction." Reverting r60703 due to build break. TBR=willchan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60705 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-1/+364
| | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60703 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse event handling in Chromoting plugin.garykac@chromium.org2010-09-243-3/+4
| | | | | | | | | | | | | | | Revision 60257 changed the Pepper PluginInstance to call HandleInputEvent instead of HandleEvent. Since HandleEvent was virtual in the subclass, this was not caught by the compiler. Here's where a proper 'override' keyword in C++ would've been nice. BUG=none TEST=verify mouse works Review URL: http://codereview.chromium.org/3440026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60467 0039d316-1c4b-4281-b951-d872f2087c98
* Modify Chromotocol to have a new RectangleUpdatePacket.ajwong@chromium.org2010-09-231-0/+50
| | | | | | | | | | | | This is a less nested version of UpdateStreamMessage. It will replace after a few more CLs are checked in. BUG=52833 TEST=none. adding new messages doesn't change functionality. Review URL: http://codereview.chromium.org/3352013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60360 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest PPAPI. Change key handling to support the new API.brettw@chromium.org2010-09-234-27/+33
| | | | | | | | TEST=PPAPI UI tests BUG=none Review URL: http://codereview.chromium.org/3386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60258 0039d316-1c4b-4281-b951-d872f2087c98
* Add libsrtp in DEPS, gyp file for libsrtp.sergeyu@chromium.org2010-09-221-0/+1
| | | | | | | | | BUG=53986 TEST=none Review URL: http://codereview.chromium.org/3382013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60213 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60142 - Add libsrtp in DEPS, gyp file for libsrtp.sergeyu@chromium.org2010-09-221-1/+0
| | | | | | | | | | | | BUG=53986 TEST=none Review URL: http://codereview.chromium.org/3382013 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/3381016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60144 0039d316-1c4b-4281-b951-d872f2087c98
* Add libsrtp in DEPS, gyp file for libsrtp.sergeyu@chromium.org2010-09-221-0/+1
| | | | | | | | | BUG=53986 TEST=none Review URL: http://codereview.chromium.org/3382013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60142 0039d316-1c4b-4281-b951-d872f2087c98
* Removed use of XmppSocketAdapter by sync.akalin@chromium.org2010-09-109-2/+1115
| | | | | | | | | | | | | | | | Moved XmppSocketAdapter and friends to remoting directory. Removed some dead code in jingle/. This is a relanding of 59012, which was mistakenly reverted at 59104. BUG=54146,55116 TEST=none TBR=willchan Review URL: http://codereview.chromium.org/3300030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59134 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r59012 which started using Chrome sockets for sync.willchan@chromium.org2010-09-109-1115/+2
| | | | | | | | | | | This caused us to write to ChromeNetLog from the sync thread. ChromeNetLog is not thread safe, so this causes problems. BUG=55116,54146 TEST=Start up chrome. Does not repeatedly hit DCHECKs on ChromeNetLog::AddEntry(). Review URL: http://codereview.chromium.org/3358028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59104 0039d316-1c4b-4281-b951-d872f2087c98
* Removed use of XmppSocketAdapter by sync.akalin@chromium.org2010-09-099-2/+1115
| | | | | | | | | | | | | Moved XmppSocketAdapter and friends to remoting directory. Removed some dead code in jingle/. BUG=54146 TEST=none Review URL: http://codereview.chromium.org/3298021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59012 0039d316-1c4b-4281-b951-d872f2087c98
* Improve UI of Chromoting client UI to select available hosts.garykac@chromium.org2010-09-089-139/+355
| | | | | | | | | BUG=53988 TEST=none Review URL: http://codereview.chromium.org/3338014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58862 0039d316-1c4b-4281-b951-d872f2087c98
* Delayed event support in JingleThread.sergeyu@chromium.org2010-09-072-23/+86
| | | | | | | | | BUG=54347 TEST=unittests Review URL: http://codereview.chromium.org/3333014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58773 0039d316-1c4b-4281-b951-d872f2087c98
* Add mouse/keyboard event support to Chromoting client (Pepper and X11).garykac@chromium.org2010-09-077-6/+49
| | | | | | | | | BUG=50247 TEST=none Review URL: http://codereview.chromium.org/3341005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix manifest permissions in Chromoting Client UIgarykac@chromium.org2010-09-031-1/+1
| | | | | | | | | | | | Add googleapis.com to the manifest so that we can access the Chromoting Directory. BUG=none TEST=none Review URL: http://codereview.chromium.org/3356003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58497 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind memory leak in session_manager_unittest.garykac@chromium.org2010-09-031-10/+1
| | | | | | | | | BUG=46678,53277 TEST=remove 2 suppressions, run valgrind linux Review URL: http://codereview.chromium.org/3170049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58496 0039d316-1c4b-4281-b951-d872f2087c98
* Update gettoken.py to generate chromoting directory token.garykac@chromium.org2010-09-031-12/+32
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3325005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58495 0039d316-1c4b-4281-b951-d872f2087c98
* Allows chromoting host to be connected again after connection drops.hclam@chromium.org2010-09-032-12/+10
| | | | | | | | | | | | | | | | | | | BUG=52890 TEST=Connects to chromoting disconnect, and then try again This allows basic reconnect functions of the chromoting host. We still have the following problems: 1. We don't have a disconnect command. 2. If we are waiting for client connection to time out we don't allow second connection. 3. Need to force a full frame update after a new client is connected. I am going to solve the above problems in separate patches but this patch will allow basic reconnect to work. Review URL: http://codereview.chromium.org/3320003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58441 0039d316-1c4b-4281-b951-d872f2087c98
* Re-lands 58186:bryeung@chromium.org2010-09-032-167/+168
| | | | | | | | | | | | | | | | | | | | Original message: """ Move the keyboard files from base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 """ TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58438 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from ↵akalin@chromium.org2010-09-022-168/+167
| | | | | | | | | | | | | | | | | | | | | base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 TBR=bryeung@chromium.org Review URL: http://codereview.chromium.org/3337006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-022-167/+168
| | | | | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58388 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert 58354, reland PPAPI with the instance test disabled.brettw@chromium.org2010-09-021-1/+1
| | | | | | Review URL: http://codereview.chromium.org/3323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58358 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58328 - Pull new PPAPI, reland 58319 and 58321.rohitrao@chromium.org2010-09-021-1/+1
| | | | | | | | | | TEST=unit test included BUG=none TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3358006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58354 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new PPAPI, reland 58319 and 58321.brettw@chromium.org2010-09-021-1/+1
| | | | | | | TEST=unit test included BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58319 - Pull latest version of Pepper. This includes a reworked find ↵brettw@chromium.org2010-09-021-1/+1
| | | | | | | | | | | | interface. TEST=none BUG=none TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3301009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58323 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest version of Pepper. This includes a reworked find interface.brettw@chromium.org2010-09-021-1/+1
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58319 0039d316-1c4b-4281-b951-d872f2087c98
* Basic user access check for chromoting host.sergeyu@chromium.org2010-09-0211-13/+237
| | | | | | | | | BUG=53984 TEST=unittests Review URL: http://codereview.chromium.org/3303001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58301 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed tsan warnings in remoting_unittestssergeyu@chromium.org2010-09-011-0/+3
| | | | | | | | | BUG=53766,53837 TEST=remoting_unittests under tsan Review URL: http://codereview.chromium.org/3269005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58235 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58186 - Move the keyboard files from base/ to app/.phajdan.jr@chromium.org2010-09-012-168/+167
| | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58215 0039d316-1c4b-4281-b951-d872f2087c98
* Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-012-167/+168
| | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58186 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage.garykac@google.com2010-08-311-5/+13
| | | | | | | | | | | Add verbatim option to simple-host-process. BUG=none TEST=none Review URL: http://codereview.chromium.org/3265007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58004 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Get screen size locally if it wasn't given in the mouse message.garykac@google.com2010-08-318-8/+30
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3229007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58002 0039d316-1c4b-4281-b951-d872f2087c98
* Add in some infrastructure to make tracing of logical requests broken over ↵ajwong@chromium.org2010-08-315-0/+512
| | | | | | | | | | | | | | | | | | | | | | | async callbacks easier. Create a concept of a TraceContext that holds a current Tracer which can be used to create a timeseries sequence of events. This implementation extends the functionality of RunnableMethod and NewRunnableMethod() to create a parallel TracedMethod, and NewTracedMethod(). These new Traced methods methods and types know how to propogate the current TraceContext to create a logical sequence of annotations through the servicing of one logical action. Currently, the code is controlled via define macro which changes NewTracedMethod back into NewRunnableMethod if the hook is disabled. BUG=52883 TEST=compiles, and client can connect to host. Review URL: http://codereview.chromium.org/3169047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57992 0039d316-1c4b-4281-b951-d872f2087c98
* Updated chromoting directory URL to use www.googleapis.com, switched to https.sergeyu@chromium.org2010-08-303-10/+14
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3252006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57909 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to ↵brettw@chromium.org2010-08-303-13/+12
| | | | | | | | | | Graphics2D. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3255003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57825 0039d316-1c4b-4281-b951-d872f2087c98
* Jingle_glue bugfixes.sergeyu@chromium.org2010-08-2811-205/+525
| | | | | | | | | | | | | | | Fixed Closed() methods in JingleChannel and JingleClient so that they are not blocking and guarantee that callback is not called afterwards. Changed JingleThread shutdown mechanism so that the thread doesn't stop until all tasks are finished. JingleClient now uses LocalTunnelSessionClient that allows local connections. BUG=52889 TEST=unittests Review URL: http://codereview.chromium.org/3167047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57770 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 7)thestig@chromium.org2010-08-276-2/+4
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3176026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57737 0039d316-1c4b-4281-b951-d872f2087c98
* Update mouse support for chromoting host.garykac@google.com2010-08-275-18/+121
| | | | | | | | BUG=none TESTING=remoting unittests + run host/client Review URL: http://codereview.chromium.org/3187021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57730 0039d316-1c4b-4281-b951-d872f2087c98
* Add mouse event support to Chromoting client (Pepper and X11).garykac@chromium.org2010-08-2616-59/+231
| | | | | | | | | BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3175028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57598 0039d316-1c4b-4281-b951-d872f2087c98
* Pass ClientContext, HostConnection and ChromotingView into the input handler ↵garykac@chromium.org2010-08-257-11/+30
| | | | | | | | | | | since they will be needed to properly handle user input and sent it to the host. BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3148029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57341 0039d316-1c4b-4281-b951-d872f2087c98
* Rename (Host|Client)Message to Chromoting(Host|Client)Message.garykac@chromium.org2010-08-2431-104/+105
| | | | | | | | | | | | | | | | Rename HostMessage and ClientMessage to Chromoting{Host|Client}Message to avoid conflicts with messages in X11. Actually, only ClientMessage needs to be changed due to conflict, but HostMessage is changed to keep the names consistent. BUG=none TEST=remoting unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57112 Review URL: http://codereview.chromium.org/3161034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57255 0039d316-1c4b-4281-b951-d872f2087c98
* Unforked xmpp ssl adapter code.sergeyu@chromium.org2010-08-2411-1237/+7
| | | | | | | | | BUG=50254 TEST=unittests Review URL: http://codereview.chromium.org/3136030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57213 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed GMock warning about unexpected call in remoting_unittests.sergeyu@chromium.org2010-08-241-0/+4
| | | | | | | | | BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3181034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57212 0039d316-1c4b-4281-b951-d872f2087c98
* Move common ChromotingView functionality into base class so that the code cangarykac@google.com2010-08-2412-88/+802
| | | | | | | | | | | | | | | | | | be shared between PepperView and X11View. Have View create appropriate decoder based on encoding of the update stream. Add state to decoder to keep track of whether Begin/End has been called in the correct order. Add unittests for new routines. BUG=none TEST=remoting unit tests Review URL: http://codereview.chromium.org/3124005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57206 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit r56600 - Start/stop service process when browser starts and stophclam@chromium.org2010-08-231-0/+5
| | | | | | | | | | | | | | | | | Save the information that the setup of remoting has completed. After setup has been completed we start and stop service process when --enable-remoting presents when browser starts. Also save the information in the service process that host is registered and ready to be used. Again start chromoting host automatically once the host registration is done. BUG=50244, 50242, 50243, 50249 Review URL: http://codereview.chromium.org/3153029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57120 0039d316-1c4b-4281-b951-d872f2087c98