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

Unified Diff: chrome/common/multi_process_lock_linux.cc

Issue 12226045: Linux/ChromeOS Chromium style checker cleanup, chrome/ edition part 1. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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: chrome/common/multi_process_lock_linux.cc
===================================================================
--- chrome/common/multi_process_lock_linux.cc (revision 181040)
+++ chrome/common/multi_process_lock_linux.cc (working copy)
@@ -9,6 +9,7 @@
#include <sys/un.h>
#include <unistd.h>
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
@@ -23,7 +24,7 @@
}
}
- virtual bool TryLock() {
+ virtual bool TryLock() OVERRIDE {
struct sockaddr_un address;
// +1 for terminator, +1 for 0 in position 0 that makes it an
@@ -84,7 +85,7 @@
}
}
- virtual void Unlock() {
+ virtual void Unlock() OVERRIDE {
if (fd_ == -1) {
DLOG(ERROR) << "Over-unlocked MultiProcessLock - " << name_;
return;
« no previous file with comments | « chrome/common/metrics/metrics_log_manager_unittest.cc ('k') | chrome/common/service_process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698