Home | History | Annotate | Download | only in devtools

Lines Matching defs:Notification

147 DevToolsProtocol::Notification::Notification(const std::string& method,
152 DevToolsProtocol::Notification::~Notification() {
155 std::string DevToolsProtocol::Notification::Serialize() {
156 base::DictionaryValue notification;
157 notification.SetString(kMethodParam, method_);
159 notification.Set(kParamsParam, params_->DeepCopy());
162 base::JSONWriter::Write(&notification, &json_notification);
194 scoped_refptr<DevToolsProtocol::Notification> notification =
195 new DevToolsProtocol::Notification(method, params);
196 SendRawMessage(notification->Serialize());
283 scoped_refptr<DevToolsProtocol::Notification>
296 return new Notification(method, params ? params->DeepCopy() : NULL);
300 scoped_refptr<DevToolsProtocol::Notification>
304 return new Notification(method, params);