diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 01:19:34 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 01:19:34 +0000 |
commit | 921c31cb9c0dc0c83cc072c302ecec5338f57c94 (patch) | |
tree | f4c0ff0e66b6e8138b9902ca98a471049030f0a8 /chrome/browser/extensions/extension_event_names.h | |
parent | 26aa78079d15a2b553294d02432faf8a544be204 (diff) | |
download | chromium_src-921c31cb9c0dc0c83cc072c302ecec5338f57c94.zip chromium_src-921c31cb9c0dc0c83cc072c302ecec5338f57c94.tar.gz chromium_src-921c31cb9c0dc0c83cc072c302ecec5338f57c94.tar.bz2 |
Setup permissions for terminalPrivateApi.
Access to terminalPrivateApi will be allowed to component and hterm extensions only. Hterm extension is not component extension, so restricting access to component extensions only won't work. (Hterm already has access to webSocketPrivate API, and extension ID are copied from there)
Also, add "exit" to allowed process output event types (this event will be dispatched
when we detect a observed process has died).
BUG=chromium-os:23273
TEST=ExtensionTerminalPrivateApiTest.*
Review URL: https://chromiumcodereview.appspot.com/9150051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_event_names.h')
-rw-r--r-- | chrome/browser/extensions/extension_event_names.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_event_names.h b/chrome/browser/extensions/extension_event_names.h index 33e15c9..d18c1f11 100644 --- a/chrome/browser/extensions/extension_event_names.h +++ b/chrome/browser/extensions/extension_event_names.h @@ -50,6 +50,9 @@ extern const char kOnDownloadErased[]; // Settings. extern const char kOnSettingsChanged[]; +// TerminalPrivate. +extern const char kOnTerminalProcessOutput[]; + }; // namespace extension_event_names #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ |