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

Unified Diff: base/process/process_posix.cc

Issue 1997153002: libchrome: Several upstreamable fixes from libchrome Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Addressed feedback Created 4 years, 7 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
Index: base/process/process_posix.cc
diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc
index ade82e5ce663be75a4bd376f060d8ad8354fc4b1..73b3f31f0fd0f7e5127234b06f91a5e7ab5e59f4 100644
--- a/base/process/process_posix.cc
+++ b/base/process/process_posix.cc
@@ -295,7 +295,7 @@ void Process::Close() {
}
#if !defined(OS_NACL_NONSFI)
-bool Process::Terminate(int exit_code, bool wait) const {
+bool Process::Terminate(int /*exit_code*/, bool wait) const {
// exit_code isn't supportable.
DCHECK(IsValid());
CHECK_GT(process_, 0);
@@ -364,7 +364,7 @@ bool Process::IsProcessBackgrounded() const {
return false;
}
-bool Process::SetProcessBackgrounded(bool value) {
+bool Process::SetProcessBackgrounded(bool /*value*/) {
// Not implemented for POSIX systems other than Linux. With POSIX, if we were
// to lower the process priority we wouldn't be able to raise it back to its
// initial priority.

Powered by Google App Engine
This is Rietveld 408576698