summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* unittests for Chromoting native messaging host.lambroslambrou@chromium.org2013-05-3010-27/+893
| | | | | | | | BUG=232200 Review URL: https://chromiumcodereview.appspot.com/14979008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203084 0039d316-1c4b-4281-b951-d872f2087c98
* Remove verify-translations.pysergeyu@chromium.org2013-05-291-53/+0
| | | | | | | | | | | verify-translations.py script is not longer necessary because grit is now used to generate message.js files. R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/15650018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203007 0039d316-1c4b-4281-b951-d872f2087c98
* Build both v1 and v2 apps on the bots. Change #1: building both V1 and V2 ↵weitaosu@chromium.org2013-05-292-34/+69
| | | | | | | | | | apps at the same time. V1 app goes to remoting/remoting.webapp and V1 app goes to remoting/remoting.webapp.V2. BUG= 239941 Review URL: https://chromiumcodereview.appspot.com/16031003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202998 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all but one use of WeakPtrFactory::DetachFromThread. wez@chromium.org2013-05-291-7/+5
| | | | | | | | | | | | | | | | | | | | | | | This is a re-land of issue 14299011, which broke GLSurfaceGLX, in turn breaking Chrome Linux/Aura. This CL changes WeakPtr in the following ways: * Changes thread-bindings semantics so that WeakPtrs only become bound when the first one is dereferenced, or the owning factory invalidates them. * Removes WeakPtrFactory::DetachFromThread. * Renames SupportsWeakPtr::DetachFromThread to DetachFromThreadHack. Calling code changes to allow this: * Unnecessary use of SupportsWeakPtr removed from SGIVideoSyncProviderThreadShim. * Unnecessary DetachFromThread() calls removed from PluginInfoMessageFilter, DhcpProxyScript[Adapter]FetcherWin and (Chromoting's) PolicyWatcherLinux. * DetachFromThread() calls rendered unnecessary by change in binding semantics removed from IOThread, SearchProviderInstallData, RuleRegistryWithCache and GLSurfaceGlx. WebGraphicsContext3DInProcessCommandBufferImpl uses the re-named DetachFromThreadHack() - bug 234964 tracks work to remove that use. TBR=darin,awong BUG=232143, 234964, 243914 Review URL: https://chromiumcodereview.appspot.com/16007009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202811 0039d316-1c4b-4281-b951-d872f2087c98
* Streamline SIMD targets in media.gypdalecurtis@google.com2013-05-241-1/+0
| | | | | | | | | | | | | | | | | | | | | Prevents duplicates of the media_sse and yuv_convert targets from ending up in both media and media_unittests during shared builds. - Removes the yuv_convert target since everyone who uses it already uses media. - Merges differ_block_sse2 and yuv_convert_simd_x86 into media_sse2. - Moves assembly into media_asm. - Moves incorrect mmx bundling from sse2 to new media_mmx target. - Introduces EXPORT macro to x86inc.asm - Introduces yasm_includes for non-.asm files in yasm_compile.gypi. - Fixes missing const on yuv constants table. BUG=none TEST=compiles, all unittests pass. TBR=fischman@chromium.org, kbr@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/15151002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202230 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 202038 "Remove all but one use of WeakPtrFactory::DetachF..."erg@chromium.org2013-05-241-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Caused local failures in linux_aura builds. Unsure why this isn't showing up on the bots. > Remove all but one use of WeakPtrFactory::DetachFromThread. > > This CL changes WeakPtr in the following ways: > * Changes thread-bindings semantics so that WeakPtrs only become bound when the first one is dereferenced, or the owning factory invalidates them. > * Removes WeakPtrFactory::DetachFromThread. > * Renames SupportsWeakPtr::DetachFromThread to DetachFromThreadHack. > > Calling code changes to allow this: > * Unnecessary DetachFromThread() calls removed from PluginInfoMessageFilter, DhcpProxyScript[Adapter]FetcherWin and (Chromoting's) PolicyWatcherLinux. > * DetachFromThread() calls rendered unnecessary by change in binding semantics removed from IOThread, SearchProviderInstallData, RuleRegistryWithCache and GLSurfaceGlx. > > WebGraphicsContext3DInProcessCommandBufferImpl uses the re-named DetachFromThreadHack() - bug 234964 tracks work to remove that use. > > Review URL: https://chromiumcodereview.appspot.com/14299011 BUG=232143, 234964, 243914 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/15819004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202193 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all but one use of WeakPtrFactory::DetachFromThread.wez@chromium.org2013-05-241-7/+5
| | | | | | | | | | | | | | | | | | | This CL changes WeakPtr in the following ways: * Changes thread-bindings semantics so that WeakPtrs only become bound when the first one is dereferenced, or the owning factory invalidates them. * Removes WeakPtrFactory::DetachFromThread. * Renames SupportsWeakPtr::DetachFromThread to DetachFromThreadHack. Calling code changes to allow this: * Unnecessary DetachFromThread() calls removed from PluginInfoMessageFilter, DhcpProxyScript[Adapter]FetcherWin and (Chromoting's) PolicyWatcherLinux. * DetachFromThread() calls rendered unnecessary by change in binding semantics removed from IOThread, SearchProviderInstallData, RuleRegistryWithCache and GLSurfaceGlx. WebGraphicsContext3DInProcessCommandBufferImpl uses the re-named DetachFromThreadHack() - bug 234964 tracks work to remove that use. BUG=232143, 234964 Review URL: https://chromiumcodereview.appspot.com/14299011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202038 0039d316-1c4b-4281-b951-d872f2087c98
* Don't serialize config dictionary in Native Messaging interface.lambroslambrou@chromium.org2013-05-244-86/+70
| | | | | | | | | | | | | The config dictionary is no longer serialized when passing it between the web-app and the native messaging host. It is still serialized for the NPAPI plugin, however, since it's difficult to return JavaScript objects from a NPAPI plugin. BUG=232135 Review URL: https://chromiumcodereview.appspot.com/15623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202029 0039d316-1c4b-4281-b951-d872f2087c98
* Show a 'remember me' checkbox in the web-app when connecting to a host that ↵jamiewalch@chromium.org2013-05-2414-48/+93
| | | | | | | | | | | | | supports pairing. Currently this checkbox does nothing. The next CL will add code to request pairing if it was checked. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/15685008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202001 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201955 "Allow multiple base::MessagePumpForUI instances t..."dbeam@chromium.org2013-05-248-14/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broke browser_tests on XP Tests (dbg)(4): http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%28dbg%29%284%29/builds/33253 [844:3260:0523/194017:1212046:FATAL:message_window.cc(28)] Check failed: CalledOnValidThread(). Backtrace: base::Histogram::GetCountAndBucketData [0x08408FD1+2262176] base::Histogram::GetCountAndBucketData [0x0827FBBE+651405] base::Histogram::GetCountAndBucketData [0x082E1E60+1053487] base::Histogram::GetCountAndBucketData [0x0825CC46+508181] base::Histogram::GetCountAndBucketData [0x0825BB66+503861] base::Histogram::GetCountAndBucketData [0x0825A534+498179] base::Histogram::GetCountAndBucketData [0x08256C16+483557] base::Histogram::GetCountAndBucketData [0x08256C82+483665] base::Histogram::GetCountAndBucketData [0x08256324+481267] base::Histogram::GetCountAndBucketData [0x081F59AF+85630] base::Histogram::GetCountAndBucketData [0x081F84AC+96635] base::Histogram::GetCountAndBucketData [0x081F5917+85478] base::Histogram::GetCountAndBucketData [0x08249FD3+431266] base::Histogram::GetCountAndBucketData [0x08249255+427812] base::Histogram::GetCountAndBucketData [0x082462CD+415644] base::Histogram::GetCountAndBucketData [0x0831D883+1297746] base::Histogram::GetCountAndBucketData [0x0831D602+1297105] ViewHostMsg_TextInputStateChanged::Read [0x0D3DD6F9+6214944] ViewHostMsg_TextInputStateChanged::Read [0x0D3DD584+6214571] ViewHostMsg_TextInputStateChanged::Read [0x0D33048E+5505717] ViewHostMsg_TextInputStateChanged::Read [0x0D3303FA+5505569] ViewHostMsg_TextInputStateChanged::Read [0x0D32DDEA+5495825] ViewHostMsg_TextInputStateChanged::Read [0x0D32BAC7+5486830] ViewHostMsg_TextInputStateChanged::Read [0x0D3DC9B6+6211549] ViewHostMsg_TextInputStateChanged::Read [0x0D367071+5729944] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x03E93429+30896697] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x025BD0DF+4853487] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02701C3F+6183503] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x026EECCB+6105819] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x026EF6DD+6108397] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x026EFEAF+6110399] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x026F673D+6137165] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02702637+6186055] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x026F4FA0+6131120] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x0262E070+5316224] (No symbol) [0x00632BF5] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x03E2BD73+30473091] (No symbol) [0x00632975] std::_Init_locks::operator= [0x03F5574F+5791] std::_Init_locks::operator= [0x03F5557F+5327] RegisterWaitForInputIdle [0x7C817077+73] > Allow multiple base::MessagePumpForUI instances to be created simultanenously on Windows. > > The current implementation of base::MessagePumpForUI on Windows registers a window class with a predefined name in order to create a message-only window. The window class is unregistered when base::MessagePumpForUI is deleted. This causes issues when two or more instances of base::MessagePumpForUI are created/destroyed simultanenously on different threads. For instance once thread can unregister the window class right before the other thread is trying to create a window using this class. > > The CL addresses this problem by switching MessageWindow to implement a message-only window. It also moves MessageWindow from remoting/host/win to base/win along with the corresponding unit test. > > MessageWindow registers a uniquely named window class per MessageWindow instance making sure that different MessageWindow objects do not share any resources. In the future this can be optimized further by registering a common window class shared by all MessageWindow objects in a thread-safe manner (by using LazyInstance for example). > > BUG=241939 > > Review URL: https://chromiumcodereview.appspot.com/15261005 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/15973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201974 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple base::MessagePumpForUI instances to be created ↵alexeypa@chromium.org2013-05-248-263/+14
| | | | | | | | | | | | | | | | simultanenously on Windows. The current implementation of base::MessagePumpForUI on Windows registers a window class with a predefined name in order to create a message-only window. The window class is unregistered when base::MessagePumpForUI is deleted. This causes issues when two or more instances of base::MessagePumpForUI are created/destroyed simultanenously on different threads. For instance once thread can unregister the window class right before the other thread is trying to create a window using this class. The CL addresses this problem by switching MessageWindow to implement a message-only window. It also moves MessageWindow from remoting/host/win to base/win along with the corresponding unit test. MessageWindow registers a uniquely named window class per MessageWindow instance making sure that different MessageWindow objects do not share any resources. In the future this can be optimized further by registering a common window class shared by all MessageWindow objects in a thread-safe manner (by using LazyInstance for example). BUG=241939 Review URL: https://chromiumcodereview.appspot.com/15261005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201955 0039d316-1c4b-4281-b951-d872f2087c98
* Make CreateConnectedIpcChannel() a cross-platform API.alexeypa@chromium.org2013-05-2414-466/+322
| | | | | | | | | | CreateConnectedIpcChannel() is used to create a pre-conected IPC channel, the client end of which can be passed to another process. This CL moves this function and related code to dedicated remoting/host/ipc_util.h. It also eliminates platform-specific implementations of DesktopSessionAgent class, since the channel created was the only platform specific code they were implementing. BUG=225451 Review URL: https://chromiumcodereview.appspot.com/15559004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201947 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unused Chromoting host code.alexeypa@chromium.org2013-05-2310-346/+40
| | | | | | | | The host can only run in multi-process mode on Windows. This CL removes Windows-only code that was only used by the single-process host. It also elimitanes some unneccasary #ifdef's to make the code more readable. Overall it removes about 300 lines of code. Review URL: https://chromiumcodereview.appspot.com/15740014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201930 0039d316-1c4b-4281-b951-d872f2087c98
* Clear |event_handler_| in UnprivilegedProcessDelegate::KillProcess() so that ↵alexeypa@chromium.org2013-05-231-0/+1
| | | | | | | | | | the object could be reused to launch another process. BUG=238821 Review URL: https://chromiumcodereview.appspot.com/15747007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201801 0039d316-1c4b-4281-b951-d872f2087c98
* PairingAuthenticator implementation and plumbing.jamiewalch@chromium.org2013-05-2221-59/+811
| | | | | | | | | | | This CL introduces the pairing authenticator classes, adds support for them to the negotiating authenticator classes and some minimal plumbing. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/14793021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201472 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 236549: Inactive window should not be capturing mouseoverweitaosu@chromium.org2013-05-224-27/+56
| | | | | | | | | | Fix: suppress MOUSEOVER, MOUSEENTER, and MOUSELEAVE when the chromoting instance loses focus. BUG=236549 Review URL: https://chromiumcodereview.appspot.com/14655023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201413 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: base: Support setting thread priorities generically.epenner@chromium.org2013-05-221-4/+4
| | | | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201202 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201202 "base: Support setting thread priorities generically."scottmg@chromium.org2013-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Broke "sizes" by adding may static initializers. > base: Support setting thread priorities generically. > > This patch supports setting priorities across platforms > at the PlatformThread level, by stashing thread id into the > thread handle on linux/android. > > Since this adds more platform specific code, and #ifdefs > were starting to get unwieldy, all platform specific code > is moved into _platform.cc files, with the exception of the > 'default' implementation, which stay in _posix. > > BUG=170549 > > Review URL: https://chromiumcodereview.appspot.com/12741012 TBR=epenner@chromium.org Review URL: https://codereview.chromium.org/15311004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201215 0039d316-1c4b-4281-b951-d872f2087c98
* base: Support setting thread priorities generically.epenner@chromium.org2013-05-211-4/+4
| | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201202 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Refactored worker process launching code and speeded up the ↵alexeypa@chromium.org2013-05-1811-806/+834
| | | | | | | | | | | | | | | | | | | | | | | | desktop process launch. This CL reduces time needed to start the desktop process in the user's session. The speed up is archieved by: - Not using elevation on Win7 and below. Elevation is still required on Win8 in order to be able to inject Alt+Tab. - If a launch attempt failed because of the job object not being ready, it is retried immediately after the job object is fully initialized. - The initial delay when retrying a failed launch attempt reduced to 100ms. Refactoring changes: - Converted WorkerProcessLauncher classes into a single-threaded, synchronous class. - Refactored and cleaned up the WorkerProcessLauncher::Delegate interface. The delegate can now launch the worker process asynchronously. Asynchronous events are reported by calling methods of WorkerProcessLauncher. - WtsSessionProcessDelegate now uses GetNamedPipeClientProcessId() function to obtain the client's PID. The job object is still used to contain worker processes if there are more than one. - WorkerProcessLauncher now limits time the worker process should start and connect back to 5 seconds. - Handling of permanent exits codes was moved to WorkerProcessLauncher. - WorkerProcessLauncher::Delegate now exposes the worker's handle instead of PID. BUG=238821 TEST=remoting_unittests.WorkerProcessLauncherTest.* Review URL: https://chromiumcodereview.appspot.com/15077010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200942 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in IpcDesktopEnvironmentTest.CaptureFramesergeyu@chromium.org2013-05-161-2/+6
| | | | | | | | | | The leak was introduced in r200504. R=alexeypa@chromium.org Review URL: https://codereview.chromium.org/15070010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200585 0039d316-1c4b-4281-b951-d872f2087c98
* Use webrtc::DesktopCapturer for screen capturer implementation.sergeyu@chromium.org2013-05-1634-643/+863
| | | | | | | | | | | | | Screen capturers are being moved from media/video/capture/screen to third_party/webrtc. This CL is an intermediate step in that process. Depends on https://webrtc-codereview.appspot.com/1322007/ TBR=brettw@chromium.org (third_party/webrtc dependency) Review URL: https://chromiumcodereview.appspot.com/13983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200504 0039d316-1c4b-4281-b951-d872f2087c98
* Add deps on allocator.gyp:allocator for some remoting executablesakalin@chromium.org2013-05-161-0/+26
| | | | | | | | | | | This is necessary to make them build with the component build and linux_use_heapchecker=1. BUG=240871 Review URL: https://chromiumcodereview.appspot.com/15005009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200465 0039d316-1c4b-4281-b951-d872f2087c98
* Read the port number used by RDP from the registry.alexeypa@chromium.org2013-05-161-2/+16
| | | | | | | | BUG=241214 Review URL: https://chromiumcodereview.appspot.com/14896007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200424 0039d316-1c4b-4281-b951-d872f2087c98
* Add header file for NativeMessagingHostlambroslambrou@chromium.org2013-05-164-128/+160
| | | | | | | | | | | Move class definition to header so it can be unit-tested. BUG=232200 Review URL: https://chromiumcodereview.appspot.com/14819014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200415 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac installer to restart users' Host processeslambroslambrou@chromium.org2013-05-161-3/+13
| | | | | | | | | | | | | The correct per-user PID was not being provided to launchctl bsexec, causing it to fail. BUG=240445 TEST=install package whilst host is running, verify it's restarted (new PID). R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/14741018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200400 0039d316-1c4b-4281-b951-d872f2087c98
* Handle exception from getDaemonVersion on NPAPI plugin.lambroslambrou@chromium.org2013-05-151-1/+5
| | | | | | | | | | | | | | | | | | This exception-handling was mistakenly removed in r199035. This CL restores it, which is sufficient to allow the webapp to start up properly when there is no NPAPI support. Currently, every method of HostDispatcher can potentially throw - these will all be fixed as part of a general error-handling cleanup. BUG=240000 TEST=remoting webapp loads on ChromeOS R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/14766013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200322 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing function.jamiewalch@chromium.org2013-05-151-0/+5
| | | | | | | | | | This was defined in the header, but not implemented anywhere. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/14995019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200252 0039d316-1c4b-4281-b951-d872f2087c98
* Do not show the in-session UI in a Me2Me session on Linux.alexeypa@chromium.org2013-05-151-12/+17
| | | | | | | | BUG=239945 Review URL: https://chromiumcodereview.appspot.com/14671007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200152 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for an optimistic protocol message from the client.jamiewalch@chromium.org2013-05-142-11/+36
| | | | | | | | | | This allows the client to avoid a round-trip to the server by preemptively sending the first message of its preferred protocol exchange. This functionality is required by the pairing authenticator, coming soon to a code review near you. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/15085018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199908 0039d316-1c4b-4281-b951-d872f2087c98
* Write the duration of various session management operations to the log ↵alexeypa@chromium.org2013-05-143-0/+43
| | | | | | | | | | | | (Windows only). This CL exposes the issue reported as http://crbug.com/238821 BUG=238821 Review URL: https://chromiumcodereview.appspot.com/14984010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199863 0039d316-1c4b-4281-b951-d872f2087c98
* Added PairingRegistry class.jamiewalch@chromium.org2013-05-104-0/+222
| | | | | | | | | | | This is part of a larger set of CLs allowing clients and hosts to be paired, eliminating the need to enter the PIN for every connection. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/14655007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199385 0039d316-1c4b-4281-b951-d872f2087c98
* Protocol-level changes required to support PIN-less authentication.jamiewalch@chromium.org2013-05-109-2/+55
| | | | | | | | | | | | This CL adds the protocol messages needed to support PIN-less authentication, and the C++ glue to route them as far as the HostStub and get the reply back to a client callback. BUG=156182 Review URL: https://chromiumcodereview.appspot.com/14715012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199371 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 225078: Web-app briefly shows error state when loading for the first ↵weitaosu@chromium.org2013-05-091-1/+10
| | | | | | | | | | time. Fix: Don't show the error dialog for NOT_AUTHENTICATED error because we will show the auth-dialog anyway. BUG=225078 Review URL: https://chromiumcodereview.appspot.com/15064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199232 0039d316-1c4b-4281-b951-d872f2087c98
* Dispatch HostController requests to NativeMessaging host or NPAPI plugin.lambroslambrou@chromium.org2013-05-086-164/+304
| | | | | | | | | | | | | | | | | | Add HostDispatcher class which tries to initialize NativeMessaging, falling back to the NPAPI plugin if NativeMessaging is unsupported. The HostController makes all Me2Me requests via this new class, which dispatches them to the NativeMessaging host or the NPAPI plugin. If support status is not yet known (the test is asynchronous), the request is added to a pending queue, and is dispatched when the status has been determined. BUG=173509 Review URL: https://chromiumcodereview.appspot.com/14780005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199035 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce jitter from uneven SincResampler buffer size requests.dalecurtis@google.com2013-05-081-3/+6
| | | | | | | | | | | | | | Ensures all buffer requests are for the same size. Reduces jitter by allowing clients with specific buffer size requirements to avoid overreading. BUG=none TEST=media_unittests. R=crogers@google.com, henrika@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/14189035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199032 0039d316-1c4b-4281-b951-d872f2087c98
* Spacer no longer needed after change to -webkit-flexjamiewalch@chromium.org2013-05-081-1/+0
| | | | | | | | | | | | https://codereview.chromium.org/12847005 changed Chromoting to use webkit-flex, which broke the layout for the "no local host registered" case. Removing a no-longer-needed padding div fixes it. BUG= Review URL: https://chromiumcodereview.appspot.com/14474013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198971 0039d316-1c4b-4281-b951-d872f2087c98
* Do not show the in-session UI in a curtained session.alexeypa@chromium.org2013-05-0826-374/+384
| | | | | | | | | | | | | | This CL refactors the existing curtain mode implementation for Mac/Linux and finalizes one for Windows. Changes: - The curtain mode policy setting is passed to the desktop environment factory. This way it will be able to pass the flag down to the created desktop environment instances. - The curtain mode object is hosted by the desktop environment for the duration of the session. - When a session is curtained the in-session UI is not created and local input is not monitored. BUG=104544, 166882 R=cdn@chromium.org, rmsousa@chromium.org Review URL: https://codereview.chromium.org/14435009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198945 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198820 "Move FileEnumerator to its own file, do some refa..."dbeam@chromium.org2013-05-081-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Broke both windows clobber and official builders' compile with this error: 771>Link: 771> Creating library ..\..\..\build\Release\lib\gcp_portmon64.lib and object ..\..\..\build\Release\lib\gcp_portmon64.exp 771>base.lib(path_service.obj) : fatalerror LNK1112: module machine type 'X86' conflicts with target machine type 'x64' 771> 771>Build FAILED. > Move FileEnumerator to its own file, do some refactoring. > > It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. > > BUG=175002 > R=rvargas@chromium.org > > Review URL: https://codereview.chromium.org/13165005 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198850 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198844 "Move sequenced_task_runner to base/task"dbeam@chromium.org2013-05-083-3/+3
| | | | | | | | | | | | | | | | | Reverting revisions that rely on r198820 so to unbreak the build. > Move sequenced_task_runner to base/task > > BUG= > R=akalin@chromium.org > > Review URL: https://codereview.chromium.org/14927008 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198848 0039d316-1c4b-4281-b951-d872f2087c98
* Move sequenced_task_runner to base/taskbrettw@chromium.org2013-05-083-3/+3
| | | | | | | | | BUG= R=akalin@chromium.org Review URL: https://codereview.chromium.org/14927008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198844 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-05-071-5/+6
| | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/13165005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198820 0039d316-1c4b-4281-b951-d872f2087c98
* Move test for enabling/disabling It2Me Share buttonlambroslambrou@chromium.org2013-05-073-19/+17
| | | | | | | | | | | | | | | Previously, this test was based on whether the Me2Me host plugin was loaded. But if Native Messaging is supported, this NPAPI instance will not get loaded, so the Share button test should not depend on it. BUG=173509 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15017006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198812 0039d316-1c4b-4281-b951-d872f2087c98
* LogExts API Logging Manifest describing the interfaces of the Remote Desktop ↵alexeypa@chromium.org2013-05-071-0/+848
| | | | | | | | | | | | ActiveX control. This manifest can be used to trace calls of COM interfaces exposed by the Remote Desktop ActiveX control. This file is for debugging purposes only. It is not used during the build. R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/14580016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198747 0039d316-1c4b-4281-b951-d872f2087c98
* Roll libjingle r313.ronghuawu@chromium.org2013-05-074-10/+10
| | | | | | | | | | | Reviewed and tried here: https://chromiumcodereview.appspot.com/15021002/ TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/14781007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198614 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup code that format session description.sergeyu@chromium.org2013-05-051-20/+8
| | | | | | | | | | | | Session description message contains version and codec even for disabled channels. That's no longer necessary because all current hosts should ignore these attributes for disabled channels. BUG=144053 Review URL: https://chromiumcodereview.appspot.com/14624009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198339 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing 'return' to code that disables Native Messaging support.lambroslambrou@chromium.org2013-05-041-5/+4
| | | | | | | | | BUG=234374 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14783003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198255 0039d316-1c4b-4281-b951-d872f2087c98
* Native Messaging host process for Chromoting Me2Me.lambroslambrou@chromium.org2013-05-037-2/+837
| | | | | | | | | | | | | | This adds a GYP target to build a Native Messaging host executable for all platforms that currently support Me2Me hosts. BUG=173509 TEST=manual Review URL: https://chromiumcodereview.appspot.com/12852005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198164 0039d316-1c4b-4281-b951-d872f2087c98
* Newly allocated PangoAttrList must be freed with pango_attr_list_unref().sudarsana.nagineni@intel.com2013-05-021-0/+1
| | | | | | | | | | Free the newly allocated PangoAttrList to avoid memory leaks. BUG=236377 Review URL: https://chromiumcodereview.appspot.com/14083016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197978 0039d316-1c4b-4281-b951-d872f2087c98
* Update appsv2.patch for https://codereview.chromium.org/14113042/rmsousa@chromium.org2013-05-021-1/+2
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/14297029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197839 0039d316-1c4b-4281-b951-d872f2087c98