summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 18:43:43 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 18:43:43 +0000
commit270c283c75e211d5f9db4efb193a4ba68b003302 (patch)
treefda11c7649b86dcb26e6ac9cb5ba3ec84e4eb9bb /content
parentb475ef4e26ba27f2b31969a1ba6de5e3534c7b27 (diff)
downloadchromium_src-270c283c75e211d5f9db4efb193a4ba68b003302.zip
chromium_src-270c283c75e211d5f9db4efb193a4ba68b003302.tar.gz
chromium_src-270c283c75e211d5f9db4efb193a4ba68b003302.tar.bz2
Correct style issues in Linux sandbox code.
NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10818015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/common/sandbox_linux.cc4
-rw-r--r--content/common/sandbox_linux.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
index d4618e5..6384d22 100644
--- a/content/common/sandbox_linux.cc
+++ b/content/common/sandbox_linux.cc
@@ -39,11 +39,11 @@ void LogSandboxStarted(const std::string& sandbox_name) {
bool IsSeccompLegacyDesired() {
#if defined(SECCOMP_SANDBOX)
#if defined(NDEBUG)
- // Off by default; allow turning on with a switch.
+ // Off by default. Allow turning on with a switch.
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableSeccompSandbox);
#else
- // On by default; allow turning off with a switch.
+ // On by default. Allow turning off with a switch.
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableSeccompSandbox);
#endif // NDEBUG
diff --git a/content/common/sandbox_linux.h b/content/common/sandbox_linux.h
index 8855c31..bd512f0 100644
--- a/content/common/sandbox_linux.h
+++ b/content/common/sandbox_linux.h
@@ -45,7 +45,7 @@ class LinuxSandbox {
// process type (this is for instance the case with the Zygote).
// In that case, it is crucial that PreinitializeSandboxFinish() gets
// called for every child process.
- // TODO(markus,jln) we know this is not always done at the moment
+ // TODO(markus, jln) we know this is not always done at the moment
// (crbug.com/139877).
void PreinitializeSandbox(const std::string& process_type);
// These should be called together.