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

Unified Diff: base/linux_util.h

Issue 10543130: Revert 141810 - Cleanup: Move some const char definitions to the .cc file. (Closed) Base URL: svn://svn.chromium.org/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 141822)
+++ base/linux_util.h (working copy)
@@ -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.
« 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