Home | History | Annotate | Download | only in browser

Lines Matching defs:ProcessSingleton

95 const int ProcessSingleton::kTimeoutInSeconds;
148 LOG(ERROR) << "ProcessSingleton would block on write(), so it gave up.";
450 // ProcessSingleton::LinuxWatcher
454 class ProcessSingleton::LinuxWatcher
457 public base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher> {
462 SocketReader(ProcessSingleton::LinuxWatcher* parent,
500 // The ProcessSingleton::LinuxWatcher that owns us.
501 ProcessSingleton::LinuxWatcher* const parent_;
522 explicit LinuxWatcher(ProcessSingleton* parent)
541 // ProcessSingleton only watches for accept (read) events.
551 friend class base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher>;
566 // The ProcessSingleton that owns us.
567 ProcessSingleton* const parent_;
574 void ProcessSingleton::LinuxWatcher::OnFileCanReadWithoutBlocking(int fd) {
592 void ProcessSingleton::LinuxWatcher::StartListening(int socket) {
601 void ProcessSingleton::LinuxWatcher::HandleMessage(
659 void ProcessSingleton::LinuxWatcher::RemoveSocketReader(SocketReader* reader) {
666 // ProcessSingleton::LinuxWatcher::SocketReader
669 void ProcessSingleton::LinuxWatcher::SocketReader::OnFileCanReadWithoutBlocking(
723 &ProcessSingleton::LinuxWatcher::HandleMessage,
733 void ProcessSingleton::LinuxWatcher::SocketReader::FinishWithACK(
748 // ProcessSingleton
750 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir)
759 ProcessSingleton::~ProcessSingleton() {
762 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() {
768 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessWithTimeout(
887 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() {
893 ProcessSingleton::NotifyResult
894 ProcessSingleton::NotifyOtherProcessWithTimeoutOrCreate(
915 bool ProcessSingleton::Create() {
979 &ProcessSingleton::LinuxWatcher::StartListening,
985 void ProcessSingleton::Cleanup() {