Searched refs:source_port_id (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/extensions/ |
D | extension_messages_browsertest.cc | 15 static void DispatchOnConnect(int source_port_id, const std::string& name, in DispatchOnConnect() argument 18 args.Set(0, Value::CreateIntegerValue(source_port_id)); in DispatchOnConnect() 30 static void DispatchOnDisconnect(int source_port_id) { in DispatchOnDisconnect() argument 32 args.Set(0, Value::CreateIntegerValue(source_port_id)); in DispatchOnDisconnect() 37 static void DispatchOnMessage(const std::string& message, int source_port_id) { in DispatchOnMessage() argument 40 args.Set(1, Value::CreateIntegerValue(source_port_id)); in DispatchOnMessage()
|
D | extension_message_service.cc | 34 #define GET_OPPOSITE_PORT_ID(source_port_id) ((source_port_id) ^ 1) argument 78 const ExtensionMessageService::MessagePort& port, int source_port_id, in DispatchOnDisconnect() argument 81 args.Set(0, Value::CreateIntegerValue(source_port_id)); in DispatchOnDisconnect() 88 const std::string& message, int source_port_id) { in DispatchOnMessage() argument 91 args.Set(1, Value::CreateIntegerValue(source_port_id)); in DispatchOnMessage() 314 int source_port_id, const std::string& message) { in PostMessageFromRenderer() argument 316 channels_.find(GET_CHANNEL_ID(source_port_id)); in PostMessageFromRenderer() 321 int dest_port_id = GET_OPPOSITE_PORT_ID(source_port_id); in PostMessageFromRenderer()
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
D | message_service.cc | 57 #define GET_OPPOSITE_PORT_ID(source_port_id) ((source_port_id) ^ 1) argument 532 int source_port_id, const Message& message) { in PostMessage() argument 533 int channel_id = GET_CHANNEL_ID(source_port_id); in PostMessage() 538 EnqueuePendingMessage(source_port_id, channel_id, message); in PostMessage() 542 DispatchMessage(source_port_id, iter->second, message); in PostMessage() 593 void MessageService::EnqueuePendingMessage(int source_port_id, in EnqueuePendingMessage() argument 600 PendingMessage(source_port_id, message)); in EnqueuePendingMessage() 605 EnqueuePendingMessageForLazyBackgroundLoad(source_port_id, in EnqueuePendingMessage() 611 int source_port_id, in EnqueuePendingMessageForLazyBackgroundLoad() argument 620 weak_factory_.GetWeakPtr(), source_port_id, message)); in EnqueuePendingMessageForLazyBackgroundLoad() [all …]
|
D | extension_message_port.cc | 44 int source_port_id, in DispatchOnDisconnect() argument 47 routing_id_, source_port_id, error_message)); in DispatchOnDisconnect()
|
D | extension_message_port.h | 32 virtual void DispatchOnDisconnect(int source_port_id,
|
D | message_service.h | 85 virtual void DispatchOnDisconnect(int source_port_id, in DispatchOnDisconnect() argument
|