Searched refs:lock_path_ (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/ |
D | process_singleton_linux_uitest.cc | 34 lock_path_ = user_data_dir().Append(chrome::kSingletonLockFilename); in SetUp() 44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0; in TearDown() 49 EXPECT_EQ(unlink(lock_path_.value().c_str()), 0); in TearDown() 53 FilePath lock_path_; member in __anon0075aa7b0111::ProcessSingletonLinuxTest 108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf)); in TEST_F() 111 ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX); in TEST_F() 189 EXPECT_EQ(0, unlink(lock_path_.value().c_str())); in TEST_F() 195 EXPECT_EQ(0, symlink(symlink_content.c_str(), lock_path_.value().c_str())); in TEST_F() 209 EXPECT_EQ(0, unlink(lock_path_.value().c_str())); in TEST_F() 210 EXPECT_EQ(0, symlink("FAKEFOOHOST-1234", lock_path_.value().c_str())); in TEST_F() [all …]
|
D | process_singleton_linux.cc | 755 lock_path_ = user_data_dir.Append(chrome::kSingletonLockFilename); in ProcessSingleton() 787 if (!ParseLockPath(lock_path_, &hostname, &pid)) { in NotifyOtherProcessWithTimeout() 794 UnlinkPath(lock_path_); in NotifyOtherProcessWithTimeout() 800 DisplayProfileInUseError(lock_path_.value(), hostname, pid); in NotifyOtherProcessWithTimeout() 806 UnlinkPath(lock_path_); in NotifyOtherProcessWithTimeout() 813 UnlinkPath(lock_path_); in NotifyOtherProcessWithTimeout() 819 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_)) in NotifyOtherProcessWithTimeout() 850 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_)) in NotifyOtherProcessWithTimeout() 866 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_)) in NotifyOtherProcessWithTimeout() 929 if (!SymlinkPath(symlink_content, lock_path_)) { in Create() [all …]
|
D | process_singleton_mac_unittest.cc | 29 lock_path_ = temp_dir_.path().Append(chrome::kSingletonLockFilename); in SetUp() 42 int fd = HANDLE_EINTR(open(lock_path_.value().c_str(), O_RDONLY)); in IsLocked() 65 FilePath lock_path_; member in __anon8943171e0111::ProcessSingletonMacTest
|
D | process_singleton_mac.cc | 44 lock_path_(user_data_dir.Append(chrome::kSingletonLockFilename)), in ProcessSingleton() 74 lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(), in Create()
|
D | process_singleton.h | 156 FilePath lock_path_; variable 170 FilePath lock_path_; variable
|