diff options
author | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 01:14:06 +0000 |
---|---|---|
committer | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 01:14:06 +0000 |
commit | 914cf6717f487282a993b689cd05f7fd81242c63 (patch) | |
tree | 4969f28a3c6d74b166303a6e9a9779d2ec1793b1 /chrome/common | |
parent | 86943d5b15f73ee8731050e793bb61a65f2c28c5 (diff) | |
download | chromium_src-914cf6717f487282a993b689cd05f7fd81242c63.zip chromium_src-914cf6717f487282a993b689cd05f7fd81242c63.tar.gz chromium_src-914cf6717f487282a993b689cd05f7fd81242c63.tar.bz2 |
Reimplement chrome.principals API through v8 binding
The chrome.principals API was originally implemented in https://codereview.chromium.org/24584002 based on extension system. However since extension does not exist on mobile, we have to reimplement the API through V8 binding.
For background, please refer to the doc https://docs.google.com/a/google.com/document/d/1bVHuWnxjZZrtcwVEJxJEOuD3nZpfvyHxrAQI3mhXZ7U/edit#.
BUG=298164
Review URL: https://codereview.chromium.org/88833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 8b6167e..6b03d4d 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -409,6 +409,18 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, GURL /* expected_url */) #endif // defined(OS_ANDROID) +// chrome.principals messages ------------------------------------------------ + +// Message sent from the renderer to the browser to get the list of browser +// managed accounts for the given origin. +IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, + GURL /* current URL */, + std::vector<std::string> /* managed accounts */) + +// Message sent from the renderer to the browser to show the browser account +// management UI. +IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_ShowBrowserAccountManagementUI) + // JavaScript related messages ----------------------------------------------- // Notify the JavaScript engine in the render to change its parameters |