Lines Matching refs:hostname
22 // The destination is a string containing the hostname and process id of
27 // If writing to the socket fails, the hostname in the lock is checked to see if
29 // etc.) If the hostname differs an error is displayed and the second process
271 // Extract the hostname and pid from the lock symlink.
274 std::string* hostname,
285 *hostname = "";
290 *hostname = real_path.substr(0, pos);
300 const std::string& hostname,
305 ASCIIToUTF16(hostname),
343 std::string hostname;
345 ParseLockPath(path, &hostname, &pid);
347 if (!hostname.empty() && hostname != net::GetHostName()) {
348 DisplayProfileInUseError(path.value(), hostname, pid);
785 std::string hostname;
787 if (!ParseLockPath(lock_path_, &hostname, &pid)) {
792 if (hostname.empty()) {
798 if (hostname != net::GetHostName()) {
800 DisplayProfileInUseError(lock_path_.value(), hostname, pid);
919 // The symlink lock is pointed to the hostname and process id, so other