Searched refs:ProcessSingleton (Results 1 – 12 of 12) sorted by relevance
/external/chromium/chrome/browser/ |
D | process_singleton_mac.cc | 41 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) in ProcessSingleton() function in ProcessSingleton 48 ProcessSingleton::~ProcessSingleton() { in ~ProcessSingleton() 54 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { in NotifyOtherProcess() 59 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { in NotifyOtherProcessOrCreate() 71 bool ProcessSingleton::Create() { in Create() 109 void ProcessSingleton::Cleanup() { in Cleanup()
|
D | process_singleton_mac_unittest.cc | 70 ProcessSingleton ps(temp_dir_.path()); in TEST_F() 82 ProcessSingleton ps(temp_dir_.path()); in TEST_F() 91 ProcessSingleton ps1(temp_dir_.path()); in TEST_F() 92 ProcessSingleton ps2(temp_dir_.path()); in TEST_F() 118 ProcessSingleton ps1(temp_dir_.path()); in TEST_F() 119 ProcessSingleton ps2(temp_dir_.path()); in TEST_F() 129 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, ps1.NotifyOtherProcessOrCreate()); in TEST_F() 131 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE, ps2.NotifyOtherProcessOrCreate()); in TEST_F() 136 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, ps2.NotifyOtherProcessOrCreate()); in TEST_F() 138 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE, ps1.NotifyOtherProcessOrCreate()); in TEST_F()
|
D | process_singleton_linux.cc | 95 const int ProcessSingleton::kTimeoutInSeconds; 454 class ProcessSingleton::LinuxWatcher 457 public base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher> { 462 SocketReader(ProcessSingleton::LinuxWatcher* parent, in SocketReader() 501 ProcessSingleton::LinuxWatcher* const parent_; 522 explicit LinuxWatcher(ProcessSingleton* parent) in LinuxWatcher() 551 friend class base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher>; 567 ProcessSingleton* const parent_; 574 void ProcessSingleton::LinuxWatcher::OnFileCanReadWithoutBlocking(int fd) { in OnFileCanReadWithoutBlocking() 592 void ProcessSingleton::LinuxWatcher::StartListening(int socket) { in StartListening() [all …]
|
D | process_singleton_linux_uitest.cc | 58 ProcessSingleton* CreateProcessSingleton() { in CreateProcessSingleton() 62 return new ProcessSingleton(user_data_dir); in CreateProcessSingleton() 82 ProcessSingleton::NotifyResult NotifyOtherProcess(const std::string& url, in NotifyOtherProcess() 84 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton()); in NotifyOtherProcess() 92 ProcessSingleton::NotifyResult NotifyOtherProcessOrCreate( in NotifyOtherProcessOrCreate() 95 scoped_ptr<ProcessSingleton> process_singleton(CreateProcessSingleton()); in NotifyOtherProcessOrCreate() 149 EXPECT_EQ(ProcessSingleton::PROCESS_NOTIFIED, in TEST_F() 170 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, in TEST_F() 201 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, in TEST_F() 215 EXPECT_EQ(ProcessSingleton::PROCESS_NOTIFIED, in TEST_F() [all …]
|
D | process_singleton_win.cc | 44 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) in ProcessSingleton() function in ProcessSingleton 79 ProcessSingleton::~ProcessSingleton() { in ~ProcessSingleton() 86 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { in NotifyOtherProcess() 163 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { in NotifyOtherProcessOrCreate() 173 bool ProcessSingleton::Create() { in Create() 183 base::win::WrappedWindowProc<ProcessSingleton::WndProcStatic>; in Create() 202 void ProcessSingleton::Cleanup() { in Cleanup() 205 LRESULT ProcessSingleton::OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds) { in OnCopyData() 303 LRESULT CALLBACK ProcessSingleton::WndProc(HWND hwnd, UINT message, in WndProc()
|
D | process_singleton.h | 43 class ProcessSingleton : public base::NonThreadSafe { 52 explicit ProcessSingleton(const FilePath& user_data_dir); 53 ~ProcessSingleton(); 144 ProcessSingleton* msg_wnd = reinterpret_cast<ProcessSingleton*>( in WndProcStatic() 178 DISALLOW_COPY_AND_ASSIGN(ProcessSingleton);
|
D | browser_main.cc | 1194 ProcessSingleton process_singleton(user_data_dir); in BrowserMain() 1429 case ProcessSingleton::PROCESS_NONE: in BrowserMain() 1433 case ProcessSingleton::PROCESS_NOTIFIED: in BrowserMain() 1440 case ProcessSingleton::PROFILE_IN_USE: in BrowserMain() 1443 case ProcessSingleton::LOCK_ERROR: in BrowserMain()
|
D | app_controller_mac.mm | 994 // the ProcessSingleton, and it calls BrowserInit. It's best to bottleneck the
|
/external/chromium/chrome/browser/first_run/ |
D | try_chrome_dialog_view.h | 15 class ProcessSingleton; variable 60 static Result Show(size_t version, ProcessSingleton* process_singleton); 72 Result ShowModal(ProcessSingleton* process_singleton);
|
D | first_run.h | 21 class ProcessSingleton; variable 75 ProcessSingleton* process_singleton);
|
D | try_chrome_dialog_view.cc | 37 ProcessSingleton* process_singleton) { in Show() 59 ProcessSingleton* process_singleton) { in ShowModal()
|
D | first_run.cc | 491 ProcessSingleton* process_singleton) { in AutoImport()
|