HomeSort by relevance Sort by last modified time
    Searched refs:lock_path_ (Results 1 - 5 of 5) sorted by null

  /external/chromium/chrome/browser/
process_singleton_linux_uitest.cc 34 lock_path_ = user_data_dir().Append(chrome::kSingletonLockFilename);
44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0;
49 EXPECT_EQ(unlink(lock_path_.value().c_str()), 0);
53 FilePath lock_path_; member in class:__anon2883::ProcessSingletonLinuxTest
108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf));
111 ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX);
189 EXPECT_EQ(0, unlink(lock_path_.value().c_str()));
195 EXPECT_EQ(0, symlink(symlink_content.c_str(), lock_path_.value().c_str()));
209 EXPECT_EQ(0, unlink(lock_path_.value().c_str()));
210 EXPECT_EQ(0, symlink("FAKEFOOHOST-1234", lock_path_.value().c_str()))
    [all...]
process_singleton_mac.cc 44 lock_path_(user_data_dir.Append(chrome::kSingletonLockFilename)),
72 DCHECK_EQ(-1, lock_fd_) << "lock_path_ is already open.";
74 lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(),
process_singleton_mac_unittest.cc 29 lock_path_ = temp_dir_.path().Append(chrome::kSingletonLockFilename);
42 int fd = HANDLE_EINTR(open(lock_path_.value().c_str(), O_RDONLY));
65 FilePath lock_path_; member in class:__anon2885::ProcessSingletonMacTest
process_singleton.h 156 FilePath lock_path_; member in class:ProcessSingleton
170 FilePath lock_path_; member in class:ProcessSingleton
process_singleton_linux.cc 755 lock_path_ = user_data_dir.Append(chrome::kSingletonLockFilename);
787 if (!ParseLockPath(lock_path_, &hostname, &pid)) {
794 UnlinkPath(lock_path_);
800 DisplayProfileInUseError(lock_path_.value(), hostname, pid);
806 UnlinkPath(lock_path_);
813 UnlinkPath(lock_path_);
819 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_))
850 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_))
866 if (!kill_unresponsive || !KillProcessByLockPath(lock_path_))
929 if (!SymlinkPath(symlink_content, lock_path_)) {
    [all...]

Completed in 43 milliseconds