Searched refs:socket_path_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/ |
D | process_singleton_linux_uitest.cc | 35 socket_path_ = user_data_dir().Append(chrome::kSingletonSocketFilename); in SetUp() 54 FilePath socket_path_; member in __anonc27d25ff0111::ProcessSingletonLinuxTest 114 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf)); in TEST_F() 117 len = readlink(socket_path_.value().c_str(), buf, PATH_MAX); in TEST_F() 198 EXPECT_EQ(0, unlink(socket_path_.value().c_str())); in TEST_F() 284 ssize_t len = readlink(socket_path_.value().c_str(), buf, sizeof(buf)); in TEST_F() 287 ASSERT_EQ(0, unlink(socket_path_.value().c_str())); in TEST_F() 289 socket_path_.value().c_str())); in TEST_F()
|
D | process_singleton_linux.cc | 754 socket_path_ = user_data_dir.Append(chrome::kSingletonSocketFilename); in ProcessSingleton() 777 if (ConnectSocket(&socket, socket_path_, cookie_path_)) in NotifyOtherProcessWithTimeout() 948 UnlinkPath(socket_path_); in Create() 950 if (!SymlinkPath(socket_target_path, socket_path_) || in Create() 986 UnlinkPath(socket_path_); in Cleanup()
|
D | process_singleton.h | 153 FilePath socket_path_; variable
|
/external/chromium_org/chrome/browser/ |
D | process_singleton_linux_unittest.cc | 78 socket_path_ = temp_dir_.path().Append(chrome::kSingletonSocketFilename); in SetUp() 190 base::FilePath socket_path_; member in __anon380289280111::ProcessSingletonLinuxTest 234 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf)); in TEST_F() 237 len = readlink(socket_path_.value().c_str(), buf, PATH_MAX); in TEST_F() 290 EXPECT_EQ(0, unlink(socket_path_.value().c_str())); in TEST_F() 366 ssize_t len = readlink(socket_path_.value().c_str(), buf, sizeof(buf)); in TEST_F() 369 ASSERT_EQ(0, unlink(socket_path_.value().c_str())); in TEST_F() 371 socket_path_.value().c_str())); in TEST_F()
|
D | process_singleton_linux.cc | 685 socket_path_ = user_data_dir.Append(chrome::kSingletonSocketFilename); in ProcessSingleton() 711 if (ConnectSocket(&socket, socket_path_, cookie_path_)) in NotifyOtherProcessWithTimeout() 901 UnlinkPath(socket_path_); in Create() 903 if (!SymlinkPath(socket_target_path, socket_path_) || in Create() 937 UnlinkPath(socket_path_); in Cleanup()
|
D | process_singleton.h | 157 base::FilePath socket_path_; variable
|