diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 01:33:14 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 01:33:14 +0000 |
commit | ee263526969367b464f6b02d88181453d1995342 (patch) | |
tree | d4fa24157cab0b8d3c20b160d8c0f4a60e97ca97 /base/linux_util.h | |
parent | a61206917d40d047782f34dd1078bc602d62048b (diff) | |
download | chromium_src-ee263526969367b464f6b02d88181453d1995342.zip chromium_src-ee263526969367b464f6b02d88181453d1995342.tar.gz chromium_src-ee263526969367b464f6b02d88181453d1995342.tar.bz2 |
Revert 141810 - Cleanup: Move some const char definitions to the .cc file.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10539099
TBR=thestig@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10543130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r-- | base/linux_util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/base/linux_util.h b/base/linux_util.h index 0d6209a..cd305f8 100644 --- a/base/linux_util.h +++ b/base/linux_util.h @@ -15,11 +15,12 @@ namespace base { -extern const char kFindInodeSwitch[]; +static const char kFindInodeSwitch[] = "--find-inode"; -extern const long kSUIDSandboxApiNumber; -extern const char kSandboxEnvironmentApiRequest[]; -extern const char kSandboxEnvironmentApiProvides[]; +// This should be kept in sync with sandbox/linux/suid/sandbox.c +static const long kSUIDSandboxApiNumber = 1; +static const char kSandboxEnvironmentApiRequest[] = "SBX_CHROME_API_RQ"; +static const char kSandboxEnvironmentApiProvides[] = "SBX_CHROME_API_PRV"; // This is declared here so the crash reporter can access the memory directly // in compromised context without going through the standard library. |