diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-09 21:42:26 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-09 21:42:26 +0000 |
commit | 835c40d4c14196b5cabff0ca0a667d1ef4aed4e6 (patch) | |
tree | eba3fc87de3032cf47a13117681835285fbac537 /remoting/host/host_main.h | |
parent | f91fcdb84355259111d3e3fb22ff2ff5c5e9502d (diff) | |
download | chromium_src-835c40d4c14196b5cabff0ca0a667d1ef4aed4e6.zip chromium_src-835c40d4c14196b5cabff0ca0a667d1ef4aed4e6.tar.gz chromium_src-835c40d4c14196b5cabff0ca0a667d1ef4aed4e6.tar.bz2 |
Moved native messaging host code to remoting_core.dll.
This CL allows the native messaging host process to be started by Chrome as "remoting_host.exe chrome-extension://xxx". Unlike other types of processes remoting_host supports, this one does not require --type parameter on the ocmmand line. Instead, the shared entry point checks whether an extension URL is passed as the first positional argument.
Other changes in this CL:
- Cross-platform native messaging entry point is added to remoting_core.
- The native messaging host manifest is generated on the fly. The host description in the manifest is taken from English version of the localized strings.
BUG=173509
R=lambroslambrou@chromium.org, sergeyu@chromium.org
Review URL: https://codereview.chromium.org/22449005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_main.h')
-rw-r--r-- | remoting/host/host_main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/host_main.h b/remoting/host/host_main.h index 527e4b3..95ac3e9 100644 --- a/remoting/host/host_main.h +++ b/remoting/host/host_main.h @@ -20,6 +20,7 @@ extern const char kProcessTypeController[]; extern const char kProcessTypeDaemon[]; extern const char kProcessTypeDesktop[]; extern const char kProcessTypeHost[]; +extern const char kProcessTypeNativeMessagingHost[]; extern const char kProcessTypeRdpDesktopSession[]; // The common entry point exported from remoting_core.dll. It uses |