Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2594)

Unified Diff: base/linux_util.h

Issue 10535141: Cleanup: Move some const char definitions to the .cc file. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/linux_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/linux_util.h
===================================================================
--- base/linux_util.h (revision 141829)
+++ base/linux_util.h (working copy)
@@ -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.
« no previous file with comments | « no previous file | base/linux_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698