/external/chromium_org/chrome/browser/ |
process_singleton_modal_dialog_lock.h | 19 // Provides a ProcessSingleton::NotificationCallback that prevents 24 // While a dialog is active, the ProcessSingleton notification 36 const ProcessSingleton::NotificationCallback& original_callback); 39 const ProcessSingleton::NotificationCallback& original_callback, 48 // Returns the ProcessSingleton::NotificationCallback. 51 ProcessSingleton::NotificationCallback AsNotificationCallback(); 58 ProcessSingleton::NotificationCallback original_callback_;
|
process_singleton_startup_lock.h | 18 // Provides a ProcessSingleton::NotificationCallback that can queue up 29 const ProcessSingleton::NotificationCallback& original_callback); 32 // Returns the ProcessSingleton::NotificationCallback. 35 ProcessSingleton::NotificationCallback AsNotificationCallback(); 52 ProcessSingleton::NotificationCallback original_callback_;
|
chrome_process_singleton.cc | 9 const ProcessSingleton::NotificationCallback& notification_callback) 19 const ProcessSingleton::NotificationCallback& notification_callback, 32 ProcessSingleton::NotifyResult
|
process_singleton_mac.cc | 40 ProcessSingleton::ProcessSingleton( 47 ProcessSingleton::~ProcessSingleton() { 53 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { 58 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { 72 bool ProcessSingleton::Create() { 80 UMA_HISTOGRAM_ENUMERATION("ProcessSingleton.OpenError" [all...] |
process_singleton_mac_unittest.cc | 70 ProcessSingleton ps(temp_dir_.path(), 71 ProcessSingleton::NotificationCallback()); 83 ProcessSingleton ps(temp_dir_.path(), 84 ProcessSingleton::NotificationCallback()); 93 ProcessSingleton ps1(temp_dir_.path(), 94 ProcessSingleton::NotificationCallback()); 95 ProcessSingleton ps2(temp_dir_.path(), 96 ProcessSingleton::NotificationCallback()); 122 ProcessSingleton ps1(temp_dir_.path(), 123 ProcessSingleton::NotificationCallback()) [all...] |
chrome_process_singleton.h | 15 // Composes a basic ProcessSingleton with ProcessSingletonStartupLock and 18 // Notifications from ProcessSingleton will be discarded if a modal dialog is 33 const ProcessSingleton::NotificationCallback& notification_callback); 37 const ProcessSingleton::NotificationCallback& notification_callback, 48 ProcessSingleton::NotifyResult NotifyOtherProcessOrCreate(); 72 // The basic ProcessSingleton 73 ProcessSingleton process_singleton_;
|
chrome_process_singleton_win_unittest.cc | 45 ProcessSingleton::NotifyResult result = ps1.NotifyOtherProcessOrCreate(); 47 ASSERT_EQ(ProcessSingleton::PROCESS_NONE, result); 51 ASSERT_EQ(ProcessSingleton::PROCESS_NOTIFIED, result); 69 ProcessSingleton::NotifyResult result = ps1.NotifyOtherProcessOrCreate(); 71 ASSERT_EQ(ProcessSingleton::PROCESS_NONE, result); 75 ASSERT_EQ(ProcessSingleton::PROCESS_NOTIFIED, result); 109 ProcessSingleton::NotifyResult result = ps1.NotifyOtherProcessOrCreate(); 111 ASSERT_EQ(ProcessSingleton::PROCESS_NONE, result); 116 ASSERT_EQ(ProcessSingleton::PROCESS_NOTIFIED, result); 128 ASSERT_EQ(ProcessSingleton::PROCESS_NOTIFIED, result) [all...] |
process_singleton_modal_dialog_lock.cc | 31 const ProcessSingleton::NotificationCallback& original_callback) 37 const ProcessSingleton::NotificationCallback& original_callback, 50 ProcessSingleton::NotificationCallback
|
process_singleton_startup_lock.cc | 11 const ProcessSingleton::NotificationCallback& original_callback) 17 ProcessSingleton::NotificationCallback 28 // ProcessSingleton was locked. Only replay each message once.
|
process_singleton_linux_unittest.cc | 36 // A ProcessSingleton exposing some protected methods for testing. 37 class TestableProcessSingleton : public ProcessSingleton { 40 : ProcessSingleton( 48 using ProcessSingleton::NotifyOtherProcessWithTimeout; 49 using ProcessSingleton::NotifyOtherProcessWithTimeoutOrCreate; 50 using ProcessSingleton::OverrideCurrentPidForTesting; 51 using ProcessSingleton::OverrideKillCallbackForTesting; 73 ProcessSingleton::DisablePromptForTesting(); 87 // Destruct the ProcessSingleton object before the IO thread so that its 124 ProcessSingleton::NotifyResult NotifyOtherProcess [all...] |
process_singleton_linux.cc | 90 const int ProcessSingleton::kTimeoutInSeconds; 144 LOG(ERROR) << "ProcessSingleton would block on write(), so it gave up."; 398 // ProcessSingleton::LinuxWatcher 402 class ProcessSingleton::LinuxWatcher 405 public base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher, 411 SocketReader(ProcessSingleton::LinuxWatcher* parent, 452 // The ProcessSingleton::LinuxWatcher that owns us. 453 ProcessSingleton::LinuxWatcher* const parent_; 474 explicit LinuxWatcher(ProcessSingleton* parent) 493 // ProcessSingleton only watches for accept (read) events [all...] |
user_data_dir_extractor.cc | 19 // different directory. However, ProcessSingleton needs a real user_data_dir
|
process_singleton_win.cc | 157 const ProcessSingleton::NotificationCallback& notification_callback, 240 bool ProcessSingleton::EscapeVirtualization( 267 ProcessSingleton::ProcessSingleton( 275 ProcessSingleton::~ProcessSingleton() { 281 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { 331 ProcessSingleton::NotifyResult 332 ProcessSingleton::NotifyOtherProcessOrCreate() [all...] |
process_singleton.h | 37 // ProcessSingleton ---------------------------------------------------------- 48 class ProcessSingleton : public base::NonThreadSafe { 67 ProcessSingleton(const base::FilePath& user_data_dir, 69 ~ProcessSingleton(); 182 DISALLOW_COPY_AND_ASSIGN(ProcessSingleton);
|
chrome_browser_main.h | 167 // ProcessSingleton. 176 ProcessSingleton::NotifyResult notify_result_;
|
/external/chromium/chrome/browser/ |
process_singleton_mac.cc | 41 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) 48 ProcessSingleton::~ProcessSingleton() { 54 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { 59 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { 71 bool ProcessSingleton::Create() { 79 UMA_HISTOGRAM_ENUMERATION("ProcessSingleton.OpenError" [all...] |
process_singleton_linux_uitest.cc | 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 [all...] |
process_singleton_mac_unittest.cc | 70 ProcessSingleton ps(temp_dir_.path()); 82 ProcessSingleton ps(temp_dir_.path()); 91 ProcessSingleton ps1(temp_dir_.path()); 92 ProcessSingleton ps2(temp_dir_.path()); 118 ProcessSingleton ps1(temp_dir_.path()); 119 ProcessSingleton ps2(temp_dir_.path()); 129 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, ps1.NotifyOtherProcessOrCreate()); 131 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE, ps2.NotifyOtherProcessOrCreate()); 136 EXPECT_EQ(ProcessSingleton::PROCESS_NONE, ps2.NotifyOtherProcessOrCreate()); 138 EXPECT_EQ(ProcessSingleton::PROFILE_IN_USE, ps1.NotifyOtherProcessOrCreate()) [all...] |
process_singleton.h | 32 // ProcessSingleton ---------------------------------------------------------- 43 class ProcessSingleton : public base::NonThreadSafe { 52 explicit ProcessSingleton(const FilePath& user_data_dir); 53 ~ProcessSingleton(); 102 // is received while the ProcessSingleton is locked. 144 ProcessSingleton* msg_wnd = reinterpret_cast<ProcessSingleton*>( 178 DISALLOW_COPY_AND_ASSIGN(ProcessSingleton);
|
process_singleton_win.cc | 44 ProcessSingleton::ProcessSingleton(const FilePath& user_data_dir) 79 ProcessSingleton::~ProcessSingleton() { 86 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { 163 ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { 173 bool ProcessSingleton::Create() { 183 base::win::WrappedWindowProc<ProcessSingleton::WndProcStatic> [all...] |
process_singleton_linux.cc | 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 [all...] |
/external/chromium_org/chrome/browser/ui/ |
process_singleton_dialog_linux.h | 10 // Displays an error to the user when the ProcessSingleton cannot acquire the
|
/external/chromium/chrome/browser/ui/gtk/ |
process_singleton_dialog.h | 16 // Displays an error to the user when the ProcessSingleton cannot acquire the
|
/external/chromium_org/chrome_frame/test/net/ |
fake_external_tab.h | 25 class ProcessSingleton; 157 scoped_ptr<ProcessSingleton> process_singleton_;
|
/external/chromium/chrome/browser/first_run/ |
try_chrome_dialog_view.h | 15 class ProcessSingleton; 60 static Result Show(size_t version, ProcessSingleton* process_singleton); 72 Result ShowModal(ProcessSingleton* process_singleton);
|