Home | History | Annotate | Download | only in browser

Lines Matching refs:ps1

91   ProcessSingleton ps1(temp_dir_.path());
100 // When |ps1| has the lock, |ps2| cannot get it.
102 EXPECT_TRUE(ps1.Create());
105 ps1.Cleanup();
107 // And when |ps2| has the lock, |ps1| cannot get it.
111 EXPECT_FALSE(ps1.Create());
118 ProcessSingleton ps1(temp_dir_.path());
127 // When |ps1| has the lock, |ps2| cannot get it.
129 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, ps1.NotifyOtherProcessOrCreate());
132 ps1.Cleanup();
134 // And when |ps2| has the lock, |ps1| cannot get it.
138 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE, ps1.NotifyOtherProcessOrCreate());