Lines Matching refs:ProcessSingleton
58 ProcessSingleton* CreateProcessSingleton() {
62 return new ProcessSingleton(user_data_dir);
69 // when spawning Chrome, but this test hits the ProcessSingleton directly.
79 // A helper method to call ProcessSingleton::NotifyOtherProcess().
81 // sent to browser process by ProcessSingleton::NotifyOtherProcess().
82 ProcessSingleton::NotifyResult NotifyOtherProcess(const std::string& url,
84 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton());
89 // A helper method to call ProcessSingleton::NotifyOtherProcessOrCreate().
91 // sent to browser process by ProcessSingleton::NotifyOtherProcessOrCreate().
92 ProcessSingleton::NotifyResult NotifyOtherProcessOrCreate(
95 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton());
103 // are valid. When running this test, the ProcessSingleton object is already
149 EXPECT_EQ(ProcessSingleton::PROCESS_NOTIFIED,
162 // ProcessSingleton::NotifyOtherProcess().
170 EXPECT_EQ(ProcessSingleton::PROCESS_NONE,
201 EXPECT_EQ(ProcessSingleton::PROCESS_NONE,
215 EXPECT_EQ(ProcessSingleton::PROCESS_NOTIFIED,
240 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE,
265 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE,
273 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton());
280 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton());
307 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE,