HomeSort by relevance Sort by last modified time
    Searched refs:ProcessSingleton (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/chrome/browser/
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_;
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...]
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_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...]
chrome_process_singleton.cc 9 const ProcessSingleton::NotificationCallback& notification_callback)
19 const ProcessSingleton::NotificationCallback& notification_callback,
32 ProcessSingleton::NotifyResult
process_singleton_modal_dialog_lock.cc 31 const ProcessSingleton::NotificationCallback& original_callback)
37 const ProcessSingleton::NotificationCallback& original_callback,
50 ProcessSingleton::NotificationCallback
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);
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_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_linux_unittest.cc 41 // A ProcessSingleton exposing some protected methods for testing.
42 class TestableProcessSingleton : public ProcessSingleton {
45 : ProcessSingleton(
53 using ProcessSingleton::NotifyOtherProcessWithTimeout;
54 using ProcessSingleton::NotifyOtherProcessWithTimeoutOrCreate;
55 using ProcessSingleton::OverrideCurrentPidForTesting;
56 using ProcessSingleton::OverrideKillCallbackForTesting;
78 ProcessSingleton::DisablePromptForTesting();
92 // Destruct the ProcessSingleton object before the IO thread so that its
129 ProcessSingleton::NotifyResult NotifyOtherProcess
    [all...]
process_singleton_linux.cc 92 const int ProcessSingleton::kTimeoutInSeconds;
146 LOG(ERROR) << "ProcessSingleton would block on write(), so it gave up.";
403 // ProcessSingleton::LinuxWatcher
407 class ProcessSingleton::LinuxWatcher
410 public base::RefCountedThreadSafe<ProcessSingleton::LinuxWatcher,
416 SocketReader(ProcessSingleton::LinuxWatcher* parent,
457 // The ProcessSingleton::LinuxWatcher that owns us.
458 ProcessSingleton::LinuxWatcher* const parent_;
479 explicit LinuxWatcher(ProcessSingleton* parent)
498 // ProcessSingleton only watches for accept (read) events
    [all...]
chrome_browser_main.h 178 // ProcessSingleton.
187 ProcessSingleton::NotifyResult notify_result_;
chrome_browser_main.cc 552 notify_result_(ProcessSingleton::PROCESS_NONE),
    [all...]
  /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_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...]
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...]
  /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);
first_run.h 21 class ProcessSingleton;
75 ProcessSingleton* process_singleton);
  /external/chromium_org/chrome_frame/test/net/
fake_external_tab.h 25 class ProcessSingleton;
157 scoped_ptr<ProcessSingleton> process_singleton_;
  /external/chromium_org/chrome/browser/first_run/
try_chrome_dialog_view.h 14 class ProcessSingleton;

Completed in 814 milliseconds

1 2