diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 00:44:56 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 00:44:56 +0000 |
commit | eef23ec5b8bc379765b47f086459be59aaf88b03 (patch) | |
tree | 7c9d107a82c94236306ebd4a707378f1244baa0f /base/linux_util.h | |
parent | 003eacc24b83343f8b413e41fe2566b6e0aa4458 (diff) | |
download | chromium_src-eef23ec5b8bc379765b47f086459be59aaf88b03.zip chromium_src-eef23ec5b8bc379765b47f086459be59aaf88b03.tar.gz chromium_src-eef23ec5b8bc379765b47f086459be59aaf88b03.tar.bz2 |
Cleanup: Move some const char definitions to the .cc file.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10539099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r-- | base/linux_util.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/base/linux_util.h b/base/linux_util.h index cd305f8..0d6209a 100644 --- a/base/linux_util.h +++ b/base/linux_util.h @@ -15,12 +15,11 @@ namespace base { -static const char kFindInodeSwitch[] = "--find-inode"; +extern const char kFindInodeSwitch[]; -// 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"; +extern const long kSUIDSandboxApiNumber; +extern const char kSandboxEnvironmentApiRequest[]; +extern const char kSandboxEnvironmentApiProvides[]; // This is declared here so the crash reporter can access the memory directly // in compromised context without going through the standard library. |