diff options
author | rmcilroy@chromium.org <rmcilroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-16 11:59:29 +0000 |
---|---|---|
committer | rmcilroy@chromium.org <rmcilroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-16 11:59:29 +0000 |
commit | 87fc6b5bf4d5c9104ace1520fb9d8816139d80d0 (patch) | |
tree | a9605891c303c6218acb5384e923dcecc32fd6af /ipc | |
parent | 6b11dfe74b69c8507ff39184aba57cbc95b357d9 (diff) | |
download | chromium_src-87fc6b5bf4d5c9104ace1520fb9d8816139d80d0.zip chromium_src-87fc6b5bf4d5c9104ace1520fb9d8816139d80d0.tar.gz chromium_src-87fc6b5bf4d5c9104ace1520fb9d8816139d80d0.tar.bz2 |
Pass StatsTable shared memory via global descriptors on Posix rather than using named shared memory.
This is required for to enable chrome://stats Android where there is no
/dev/shm. This also provides the added advantage of not requiring the
--no-sandbox command line flag with the --enable-stats-table on Posix.
BUG=None
Review URL: https://codereview.chromium.org/22911027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_descriptors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_descriptors.h b/ipc/ipc_descriptors.h index b766bbb..9dcff8c 100644 --- a/ipc/ipc_descriptors.h +++ b/ipc/ipc_descriptors.h @@ -9,6 +9,10 @@ // base::GlobalDescriptors object (see base/posix/global_descriptors.h) enum { kPrimaryIPCChannel = 0, + kStatsTableSharedMemFd, + + // The first key that can be use to register descriptors. + kIPCDescriptorMax }; #endif // IPC_IPC_DESCRIPTORS_H_ |