Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/
Dmach_broker_mac_unittest.cc16 base::AutoLock lock(broker_.GetLock()); in AddPlaceholderForPid()
17 broker_.AddPlaceholderForPid(pid); in AddPlaceholderForPid()
21 broker_.InvalidatePid(pid); in InvalidatePid()
27 base::AutoLock lock(broker_.GetLock()); in FinalizePid()
28 broker_.FinalizePid(pid, task_port); in FinalizePid()
32 MachBroker broker_; member in content::MachBrokerTest
37 base::AutoLock lock(broker_.GetLock()); in TEST_F()
43 EXPECT_EQ(0u, broker_.TaskForPid(1)); in TEST_F()
47 EXPECT_EQ(100u, broker_.TaskForPid(1)); in TEST_F()
50 EXPECT_EQ(0u, broker_.TaskForPid(2)); in TEST_F()
[all …]
Dmach_broker_mac.mm54 : broker_(broker),
56 DCHECK(broker_);
87 NSString* name = base::SysUTF8ToNSString(broker_->GetMachPortName());
119 base::AutoLock lock(broker_->GetLock());
120 broker_->FinalizePid(child_pid, child_task_port);
131 MachBroker* broker_; // weak
/external/chromium/chrome/browser/
Dmach_broker_mac_unittest.cc14 base::AutoLock lock(broker_.GetLock()); in AddPlaceholderForPid()
15 broker_.AddPlaceholderForPid(pid); in AddPlaceholderForPid()
21 base::AutoLock lock(broker_.GetLock()); in FinalizePid()
22 broker_.FinalizePid(pid, mach_info); in FinalizePid()
26 MachBroker broker_; member in MachBrokerTest
31 base::AutoLock lock(broker_.GetLock()); in TEST_F()
37 EXPECT_EQ(0u, broker_.TaskForPid(1)); in TEST_F()
41 EXPECT_EQ(100u, broker_.TaskForPid(1)); in TEST_F()
44 EXPECT_EQ(0u, broker_.TaskForPid(2)); in TEST_F()
51 EXPECT_EQ(100u, broker_.TaskForPid(1)); in TEST_F()
[all …]
Dmach_broker_mac.cc32 : broker_(broker) { } in RegisterNotificationTask()
35 broker_->registrar_.Add(broker_, in Run()
38 broker_->registrar_.Add(broker_, in Run()
41 broker_->registrar_.Add(broker_, in Run()
44 broker_->registrar_.Add(broker_, in Run()
47 broker_->registrar_.Add(broker_, in Run()
53 MachBroker* broker_; member in RegisterNotificationTask
59 MachListenerThreadDelegate(MachBroker* broker) : broker_(broker) { in MachListenerThreadDelegate()
60 DCHECK(broker_); in MachListenerThreadDelegate()
94 base::AutoLock lock(broker_->GetLock()); in ThreadMain()
[all …]
/external/chromium_org/content/renderer/pepper/
Dppb_broker_impl.cc32 broker_(NULL), in PPB_Broker_Impl()
40 if (broker_) { in ~PPB_Broker_Impl()
41 broker_->Disconnect(this); in ~PPB_Broker_Impl()
42 broker_ = NULL; in ~PPB_Broker_Impl()
58 if (broker_) { in Connect()
76 broker_ = module->GetBroker(); in Connect()
77 if (!broker_) { in Connect()
78 broker_ = new PepperBroker(module); in Connect()
94 broker_->AddPendingConnect(this); in Connect()
142 broker_->OnBrokerChannelConnected(broker_pid, handle); in OnPpapiBrokerChannelCreated()
[all …]
Dplugin_module.cc411 broker_(NULL), in PluginModule()
623 DCHECK(!broker_ || !broker); in SetBroker()
624 broker_ = broker; in SetBroker()
628 return broker_; in GetBroker()
Dppb_broker_impl.h61 PepperBroker* broker_; variable
Dplugin_module.h249 PepperBroker* broker_; variable
/external/chromium_org/sandbox/win/tests/common/
Dcontroller.cc105 broker_ = NULL; in Init()
113 broker_ = GetBroker(); in Init()
114 if (!broker_) in Init()
117 policy_ = broker_->CreatePolicy(); in Init()
225 broker_->AddTargetPeer(target.hProcess); in InternalRunTest()
227 result = broker_->SpawnTarget(prog_name, arguments.c_str(), policy_, in InternalRunTest()
Dcontroller.h119 BrokerServices* broker() { return broker_; } in broker()
136 BrokerServices* broker_; variable
/external/chromium_org/sandbox/win/sandbox_poc/
Dmain_ui_window.cc33 broker_(NULL) { in MainUIWindow()
50 broker_ = broker; in CreateMainWindowAndLoop()
508 sandbox::TargetPolicy* policy = broker_->CreatePolicy(); in SpawnTarget()
521 sandbox::ResultCode result = broker_->SpawnTarget(spawn_target_.c_str(), in SpawnTarget()
Dmain_ui_window.h161 sandbox::BrokerServices* broker_; variable