summaryrefslogtreecommitdiffstats
path: root/remoting/host/native_messaging
Commit message (Collapse)AuthorAgeFilesLines
* Removes MessageLoop::TYPE_XXX where possiblesky@chromium.org2014-01-151-3/+2
| | | | | | | | | | | | This is part of attempting to get rid of MessageLoop::Type enum. BUG=none TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/136683004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244996 0039d316-1c4b-4281-b951-d872f2087c98
* Me2me Native Messaging host on Windows: restructure NativeMessagingHost and ↵weitaosu@chromium.org2013-12-132-37/+15
| | | | | | | | | | | | | | | | | NativeMessagingChannel. 1. Reverse the ownership relation between NativeMessagingHost and NativeMessagingChannel. a. The host now owns the channel. This gets us ready for the next change in which the host will own an addition channel to communicate with the elevated host. I believe the code is also simpler and cleaner after this change. b. Removed NativeMessagingChannel::Delegate. c. The host object, instead of the host process's main method, is now responsible for setting up and starting the channel. 2. Reimplement the threading logic of and re-enable the NativeMessagingHost unit tests. 3. Add ThreadChecker asserts in NativeMessagingHost methods. BUG=325567,323306 Review URL: https://codereview.chromium.org/103693006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240565 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the It2Me native messaging host.weitaosu@chromium.org2013-11-282-44/+21
| | | | | | | | | | | | | 1. Implemented It2MeNativeMessagingHost and its unit test. 2. It2MeHost now stores only a raw pointer to the host context object whose lifetime is managed by the creator of the it2me host (NPAPI plugin or it2me native messaging host). 3. The native messaging channel now stores the send_message callback instead of getting it from the caller every time a message is received. 4. The native messaging channel no longer tracks the number of pending requests. BUG=309844 Review URL: https://codereview.chromium.org/61973004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237665 0039d316-1c4b-4281-b951-d872f2087c98
* It2Me native messaging: GYP and source refactoringweitaosu@chromium.org2013-11-028-0/+884
| | | | | | | | | | | | | | | 1. Add "me2me" to the names of all the me2me specific GYP targets and source files. This makes it easier for my next CL that will add the It2Me native messaging host component. 2. Create a remoting_native_messaging_base GYP target that contains the common native messaging plumbing code shared between remoting_core, remoting_me2me_native_messaging_host and the to-be-created remoting_it2me_native_messaging_host. 3. Clean up some dependencies in remoting.gyp: e.g. the native messaging manifest should be depended on by the archive targets, not the native messaging host binary targets. 4. Rename It2MeImpl to It2MeHost. BUG=309844 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232331 Review URL: https://codereview.chromium.org/49113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232543 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 232331 "It2Me native messaging: GYP and source refactoring"robertphillips@google.com2013-11-018-884/+0
| | | | | | | | | | | | | | | | | | | > It2Me native messaging: GYP and source refactoring > > 1. Add "me2me" to the names of all the me2me specific GYP targets and source files. This makes it easier for my next CL that will add the It2Me native messaging host component. > 2. Create a remoting_native_messaging_base GYP target that contains the common native messaging plumbing code shared between remoting_core, remoting_me2me_native_messaging_host and the to-be-created remoting_it2me_native_messaging_host. > 3. Clean up some dependencies in remoting.gyp: e.g. the native messaging manifest should be depended on by the archive targets, not the native messaging host binary targets. > 4. Rename It2MeImpl to It2MeHost. > > BUG=309844 > > Review URL: https://codereview.chromium.org/49113003 TBR=weitaosu@chromium.org Review URL: https://codereview.chromium.org/50033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232341 0039d316-1c4b-4281-b951-d872f2087c98
* It2Me native messaging: GYP and source refactoringweitaosu@chromium.org2013-11-018-0/+884
1. Add "me2me" to the names of all the me2me specific GYP targets and source files. This makes it easier for my next CL that will add the It2Me native messaging host component. 2. Create a remoting_native_messaging_base GYP target that contains the common native messaging plumbing code shared between remoting_core, remoting_me2me_native_messaging_host and the to-be-created remoting_it2me_native_messaging_host. 3. Clean up some dependencies in remoting.gyp: e.g. the native messaging manifest should be depended on by the archive targets, not the native messaging host binary targets. 4. Rename It2MeImpl to It2MeHost. BUG=309844 Review URL: https://codereview.chromium.org/49113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232331 0039d316-1c4b-4281-b951-d872f2087c98