summaryrefslogtreecommitdiffstats
path: root/base/linux_util.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-13 23:20:04 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-13 23:20:04 +0000
commit46e9acad2bf6624ccb9d9eddc339bba6104e3c68 (patch)
tree299a27cf65c39394e56b824b42ded62a2fd20bd0 /base/linux_util.h
parent68ac0e6648be0d419ccd2359c97af48079dc7500 (diff)
downloadchromium_src-46e9acad2bf6624ccb9d9eddc339bba6104e3c68.zip
chromium_src-46e9acad2bf6624ccb9d9eddc339bba6104e3c68.tar.gz
chromium_src-46e9acad2bf6624ccb9d9eddc339bba6104e3c68.tar.bz2
Cleanup: Move some const char definitions to the .cc file. (try 2)
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10535141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r--base/linux_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/linux_util.h b/base/linux_util.h
index cd305f8..02605bc 100644
--- a/base/linux_util.h
+++ b/base/linux_util.h
@@ -15,12 +15,12 @@
namespace base {
-static const char kFindInodeSwitch[] = "--find-inode";
+BASE_EXPORT 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";
+BASE_EXPORT extern const long kSUIDSandboxApiNumber;
+BASE_EXPORT extern const char kSandboxEnvironmentApiRequest[];
+BASE_EXPORT 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.