/external/chromium_org/ppapi/c/trusted/ |
H A D | ppb_broker_trusted.h | 25 * access to a trusted broker with greater privileges than the plugin. 34 * The PPB_BrokerTrusted interface provides access to a trusted broker 39 * A PPB_BrokerTrusted resource represents a connection to the broker. Its 40 * lifetime controls the lifetime of the broker, regardless of whether the 46 * Returns a trusted broker resource. 50 * Returns true if the resource is a trusted broker. 54 * Connects to the trusted broker. It may have already 67 int32_t (*Connect)(PP_Resource broker, 77 int32_t (*GetHandle)(PP_Resource broker, int32_t* handle); 79 * Returns PP_TRUE if the plugin has permission to launch the broker [all...] |
/external/chromium_org/ppapi/api/trusted/ |
H A D | ppb_broker_trusted.idl | 8 * access to a trusted broker with greater privileges than the plugin. 17 * The PPB_BrokerTrusted interface provides access to a trusted broker 22 * A PPB_BrokerTrusted resource represents a connection to the broker. Its 23 * lifetime controls the lifetime of the broker, regardless of whether the 30 * Returns a trusted broker resource. 35 * Returns true if the resource is a trusted broker. 40 * Connects to the trusted broker. It may have already 53 int32_t Connect([in] PP_Resource broker, 64 int32_t GetHandle([in] PP_Resource broker, [out] int32_t handle); 67 * Returns PP_TRUE if the plugin has permission to launch the broker [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | device_local_account_policy_service_unittest.cc | 226 DeviceLocalAccountPolicyBroker* broker = local 228 ASSERT_TRUE(broker); 229 EXPECT_EQ(account_1_user_id_, broker->user_id()); 230 ASSERT_TRUE(broker->core()->store()); 231 EXPECT_EQ(CloudPolicyStore::STATUS_OK, broker->core()->store()->status()); 232 EXPECT_FALSE(broker->core()->client()); 233 EXPECT_FALSE(broker->core()->store()->policy_map().empty()); 241 DeviceLocalAccountPolicyBroker* broker = local 243 ASSERT_TRUE(broker); 244 EXPECT_EQ(account_1_user_id_, broker 260 DeviceLocalAccountPolicyBroker* broker = local 277 DeviceLocalAccountPolicyBroker* broker = local 297 DeviceLocalAccountPolicyBroker* broker = local 323 DeviceLocalAccountPolicyBroker* broker = local 369 DeviceLocalAccountPolicyBroker* broker = local 389 DeviceLocalAccountPolicyBroker* broker = local 458 DeviceLocalAccountPolicyBroker* broker = local 584 DeviceLocalAccountPolicyBroker* broker = local 611 DeviceLocalAccountPolicyBroker* broker = local 659 DeviceLocalAccountPolicyBroker* broker = local 704 DeviceLocalAccountPolicyBroker* broker = local 736 DeviceLocalAccountPolicyBroker* broker = local 874 DeviceLocalAccountPolicyBroker* broker = local 930 DeviceLocalAccountPolicyBroker* broker = local [all...] |
H A D | device_local_account_policy_provider.cc | 110 DeviceLocalAccountPolicyBroker* broker = GetBroker(); local 111 if (broker && broker->core()->service()) { 113 broker->core()->service()->RefreshPolicy( 142 DeviceLocalAccountPolicyBroker* broker = GetBroker(); local 144 if (broker) { 145 store_initialized_ |= broker->core()->store()->is_initialized(); 147 // Copy policy from the broker. 149 .CopyFrom(broker->core()->store()->policy_map()); 150 external_data_manager_ = broker [all...] |
H A D | cloud_external_data_policy_observer_unittest.cc | 125 void RefreshDeviceLocalAccountPolicy(DeviceLocalAccountPolicyBroker* broker); 315 DeviceLocalAccountPolicyBroker* broker) { 316 broker->core()->store()->Load(); 392 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 393 ASSERT_TRUE(broker); 394 broker->external_data_manager()->Connect(NULL); 434 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 435 ASSERT_TRUE(broker); 436 broker->external_data_manager()->Connect(NULL); 473 DeviceLocalAccountPolicyBroker* broker local 314 RefreshDeviceLocalAccountPolicy( DeviceLocalAccountPolicyBroker* broker) argument 507 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 545 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 597 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 654 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 705 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local 739 DeviceLocalAccountPolicyBroker* broker = GetBrokerForDeviceLocalAccountUser(); local [all...] |
H A D | device_local_account_policy_service.cc | 313 DeviceLocalAccountPolicyBroker* broker = GetBrokerForUser(user_id); local 314 return broker && broker->core()->store()->is_managed(); 366 // The account with |account_id| was deleted and the broker for it has shut 439 scoped_ptr<DeviceLocalAccountPolicyBroker> broker; local 442 // Reuse the existing broker if present. 443 broker.reset(broker_it->second); 456 broker.reset(new DeviceLocalAccountPolicyBroker( 470 broker->ConnectIfPossible(device_settings_service_, 474 policy_brokers_[it->user_id] = broker [all...] |
H A D | cloud_external_data_policy_observer.cc | 205 DeviceLocalAccountPolicyBroker* broker = local 207 if (!broker) { 210 // no |broker| exists yet, the |device_local_account_policy_service_| must 213 // finds out about |user_id| and creates a |broker| for it. 218 broker->core()->store()->policy_map().Get(policy_);
|
H A D | device_local_account_browsertest.cc | 809 DeviceLocalAccountPolicyBroker* broker = local 812 ASSERT_TRUE(broker); 813 broker->core()->store()->Load(); 1022 DeviceLocalAccountPolicyBroker* broker = local 1025 ASSERT_TRUE(broker); 1027 broker->extension_loader()->GetExternalCacheForTesting(); 1095 DeviceLocalAccountPolicyBroker* broker = local 1098 ASSERT_TRUE(broker); 1100 broker->extension_loader()->GetExternalCacheForTesting(); 1142 DeviceLocalAccountPolicyBroker* broker local 1229 DeviceLocalAccountPolicyBroker* broker = local 1625 DeviceLocalAccountPolicyBroker* broker = local [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_broker.cc | 32 // Message sent from broker to plugin if the broker is unsandboxed. 34 // Message sent from broker to plugin if the broker is sandboxed. This message 36 // |kBrokerUnsandboxed|. If it's shorter and the broker doesn't close its handle 172 // Callback in the broker when a new broker connection occurs. 184 // Verify broker is not sandboxed and send result to plugin over the pipe. 242 // Very simplistic test to make sure we can create a broker interface. 245 PP_Resource broker 273 PP_Resource broker = broker_interface_->CreateTrusted( local 282 PP_Resource broker = broker_interface_->CreateTrusted( local 308 PP_Resource broker = broker_interface_->CreateTrusted( local 323 PP_Resource broker = broker_interface_->CreateTrusted( local 337 PP_Resource broker = broker_interface_->CreateTrusted( local 346 PP_Resource broker = broker_interface_->CreateTrusted( local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
H A D | chrome_user_selection_screen.cc | 60 policy::DeviceLocalAccountPolicyBroker* broker = local 62 if (!broker) 65 CheckForPublicSessionDisplayNameChange(broker); 66 CheckForPublicSessionLocalePolicyChange(broker); 75 policy::DeviceLocalAccountPolicyBroker* broker) { 76 const std::string& user_id = broker->user_id(); 77 const std::string& display_name = broker->GetDisplayName(); 105 policy::DeviceLocalAccountPolicyBroker* broker) { 106 const std::string& user_id = broker->user_id(); 108 broker 74 CheckForPublicSessionDisplayNameChange( policy::DeviceLocalAccountPolicyBroker* broker) argument 104 CheckForPublicSessionLocalePolicyChange( policy::DeviceLocalAccountPolicyBroker* broker) argument [all...] |
H A D | chrome_user_selection_screen.h | 40 policy::DeviceLocalAccountPolicyBroker* broker); 45 policy::DeviceLocalAccountPolicyBroker* broker);
|
/external/chromium_org/ppapi/proxy/ |
H A D | ppb_broker_proxy.h | 36 void OnMsgConnect(const ppapi::HostResource& broker); 37 void OnMsgConnectComplete(const ppapi::HostResource& broker,
|
H A D | ppb_broker_proxy.cc | 160 void PPB_Broker_Proxy::OnMsgConnect(const HostResource& broker) { argument 164 broker, callback_factory_, 165 &PPB_Broker_Proxy::ConnectCompleteInHost, broker); 196 const HostResource& broker) { 201 EnterHostFromHostResource<PPB_Broker_API> enter(broker); 223 API_ID_PPB_BROKER, broker, foreign_socket_handle, result)); 195 ConnectCompleteInHost(int32_t result, const HostResource& broker) argument
|
/external/chromium_org/sandbox/win/src/ |
H A D | policy_target_test.cc | 222 BrokerServices* broker = GetBroker(); local 225 TargetPolicy* temp_policy = broker->CreatePolicy(); 229 ASSERT_TRUE(broker != NULL); 243 TargetPolicy* policy = broker->CreatePolicy(); 247 result = broker->SpawnTarget(prog_name, arguments.c_str(), policy, 271 temp_policy = broker->CreatePolicy(); 285 BrokerServices* broker = GetBroker(); local 288 TargetPolicy* temp_policy = broker->CreatePolicy(); 292 ASSERT_TRUE(broker != NULL); 306 TargetPolicy* policy = broker [all...] |
H A D | filesystem_dispatcher.cc | 97 ULONG broker = TRUE; local 102 params[OpenFile::BROKER] = ParamPickerMake(broker); 139 ULONG broker = TRUE; local 144 params[OpenFile::BROKER] = ParamPickerMake(broker); 179 ULONG broker = TRUE; local 183 params[FileName::BROKER] = ParamPickerMake(broker); 217 ULONG broker = TRUE; local 221 params[FileName::BROKER] = ParamPickerMake(broker); 269 ULONG broker = TRUE; local 273 params[FileName::BROKER] = ParamPickerMake(broker); [all...] |
H A D | filesystem_interception.cc | 55 ULONG broker = FALSE; local 60 params[OpenFile::BROKER] = ParamPickerMake(broker); 126 ULONG broker = FALSE; local 131 params[OpenFile::BROKER] = ParamPickerMake(broker); 193 ULONG broker = FALSE; local 196 params[FileName::BROKER] = ParamPickerMake(broker); 254 ULONG broker = FALSE; local 257 params[FileName::BROKER] = ParamPickerMake(broker); 329 ULONG broker = FALSE; local 332 params[FileName::BROKER] = ParamPickerMake(broker); [all...] |
H A D | app_container_test.cc | 82 runner.broker()->InstallAppContainer(kAppContainerSid, 92 runner.broker()->UninstallAppContainer(kAppContainerSid)); 106 runner.broker()->InstallAppContainer(kAppContainerSid, 115 runner.broker()->UninstallAppContainer(kAppContainerSid));
|
H A D | broker_services.cc | 65 // Helper structure that allows the broker to track peer processes 117 // The broker uses a dedicated worker thread that services the job completion 157 // Cannot clean broker services. 221 BrokerServicesBase* broker = reinterpret_cast<BrokerServicesBase*>(param); local 222 HANDLE port = broker->job_port_; 223 HANDLE no_targets = broker->no_targets_; 266 AutoLock lock(&broker->lock_); 267 broker->child_process_ids_.erase(reinterpret_cast<DWORD>(ovl)); 295 AutoLock lock(&broker->lock_); 297 broker [all...] |
/external/chromium_org/sandbox/win/tests/integration_tests/ |
H A D | integration_tests_test.cc | 162 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets()); 172 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets()); 173 // In this case the processes are not tracked by the broker and should be 195 // Actually both runners share the same singleton broker. 196 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets()); 197 // In this case the processes are not tracked by the broker and should be 221 // Actually both runners share the same singleton broker. 222 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets()); 223 // In this case the processes are not tracked by the broker and should be 246 // Actually both runners share the same singleton broker [all...] |
/external/chromium_org/chrome/browser/policy/ |
H A D | schema_registry_service_factory.cc | 110 DeviceLocalAccountPolicyBroker* broker = GetBroker(context); local 111 if (broker) { 116 registry.reset(new ForwardingSchemaRegistry(broker->schema_registry()));
|
/external/chromium_org/sandbox/win/tests/common/ |
H A D | controller.cc | 73 static BrokerServices* broker = SandboxFactory::GetBrokerServices(); local 76 if (!broker) { 81 if (SBOX_ALL_OK != broker->Init()) 87 return broker;
|
H A D | controller.h | 119 BrokerServices* broker() { return broker_; } function in class:sandbox::TestRunner 148 // Returns the broker services.
|
/external/chromium_org/sandbox/win/sandbox_poc/ |
H A D | main_ui_window.h | 37 // broker); 42 // This class encapsulates the Main UI window for the broker application. 53 // passed in directly from winmain. The 'broker' argument is a pointer to a 59 sandbox::BrokerServices* broker); 120 // NOTE: The broker does not know if the target EXE successfully loaded the 122 // Returns true if the broker reports that it was successful in creating 167 // broker will spawn and ask to load the DLL. 188 // Pipe used to communicate the logs between the target and the broker.
|
/external/chromium_org/content/browser/ |
H A D | child_process_launcher.cc | 281 MachBroker* broker = MachBroker::GetInstance(); local 282 broker->GetLock().Acquire(); 286 broker->EnsureRunning(); 309 broker->AddPlaceholderForPid(handle); 311 // After updating the broker, release the lock and let the child's 312 // messasge be processed on the broker's thread. 313 broker->GetLock().Release();
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | external_provider_impl.cc | 381 policy::DeviceLocalAccountPolicyBroker* broker = local 384 if (broker) { 385 external_loader = broker->extension_loader();
|