Index: chrome/common/multi_process_lock_linux.cc |
=================================================================== |
--- chrome/common/multi_process_lock_linux.cc (revision 107051) |
+++ chrome/common/multi_process_lock_linux.cc (working copy) |
@@ -30,8 +30,9 @@ |
} |
if (name_.length() > MULTI_PROCESS_LOCK_NAME_MAX_LEN) { |
- LOG(ERROR) << "Socket name too long (" << name_.length() |
- << " > " << MULTI_PROCESS_LOCK_NAME_MAX_LEN << ") - " << name_; |
+ DLOG(ERROR) << "Socket name too long (" << name_.length() |
+ << " > " << MULTI_PROCESS_LOCK_NAME_MAX_LEN << ") - " |
+ << name_; |
return false; |
} |
@@ -51,7 +52,7 @@ |
if (print_length < 0 || |
print_length > static_cast<int>(MULTI_PROCESS_LOCK_NAME_MAX_LEN)) { |
- PLOG(ERROR) << "Couldn't create sun_path - " << name_; |
+ DPLOG(ERROR) << "Couldn't create sun_path - " << name_; |
return false; |
} |
@@ -67,7 +68,7 @@ |
int socket_fd = socket(AF_LOCAL, SOCK_STREAM, 0); |
if (socket_fd < 0) { |
- PLOG(ERROR) << "Couldn't create socket - " << name_; |
+ DPLOG(ERROR) << "Couldn't create socket - " << name_; |
return false; |
} |
@@ -77,11 +78,11 @@ |
fd_ = socket_fd; |
return true; |
} else { |
- VLOG(1) << "Couldn't bind socket - " |
- << &(address.sun_path[1]) |
- << " Length: " << length; |
+ DVLOG(1) << "Couldn't bind socket - " |
+ << &(address.sun_path[1]) |
+ << " Length: " << length; |
if (HANDLE_EINTR(close(socket_fd)) < 0) { |
- PLOG(ERROR) << "close"; |
+ DPLOG(ERROR) << "close"; |
} |
return false; |
} |
@@ -93,7 +94,7 @@ |
return; |
} |
if (HANDLE_EINTR(close(fd_)) < 0) { |
- PLOG(ERROR) << "close"; |
+ DPLOG(ERROR) << "close"; |
} |
fd_ = -1; |
} |