Home
last modified time | relevance | path

Searched refs:ProcessSingleton (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/
Dprocess_singleton_mac.cc41 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()
Dprocess_singleton_mac_unittest.cc70 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()
Dprocess_singleton_linux.cc95 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 …]
Dprocess_singleton_linux_uitest.cc58 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 …]
Dprocess_singleton_win.cc44 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()
Dprocess_singleton.h43 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);
Dbrowser_main.cc1194 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()
Dapp_controller_mac.mm994 // the ProcessSingleton, and it calls BrowserInit. It's best to bottleneck the
/external/chromium/chrome/browser/first_run/
Dtry_chrome_dialog_view.h15 class ProcessSingleton; variable
60 static Result Show(size_t version, ProcessSingleton* process_singleton);
72 Result ShowModal(ProcessSingleton* process_singleton);
Dfirst_run.h21 class ProcessSingleton; variable
75 ProcessSingleton* process_singleton);
Dtry_chrome_dialog_view.cc37 ProcessSingleton* process_singleton) { in Show()
59 ProcessSingleton* process_singleton) { in ShowModal()
Dfirst_run.cc491 ProcessSingleton* process_singleton) { in AutoImport()