Home
last modified time | relevance | path

Searched refs:request_dict (Results 1 – 3 of 3) sorted by relevance

/third_party/cef/tests/cefclient/browser/
Dserver_test.cc237 CefRefPtr<CefDictionaryValue> request_dict = ParseJSON(request); in OnQuery() local
238 if (!request_dict) { in OnQuery()
243 if (!VerifyKey(request_dict, kActionKey, VTYPE_STRING, callback)) in OnQuery()
246 const std::string& action = request_dict->GetString(kActionKey); in OnQuery()
248 HandleQueryAction(request_dict, callback); in OnQuery()
250 HandleStartAction(request_dict, callback); in OnQuery()
252 HandleStopAction(request_dict, callback); in OnQuery()
262 void HandleQueryAction(CefRefPtr<CefDictionaryValue> request_dict, in HandleQueryAction() argument
276 void HandleStartAction(CefRefPtr<CefDictionaryValue> request_dict, in HandleStartAction() argument
283 if (!VerifyKey(request_dict, kPortKey, VTYPE_INT, callback)) in HandleStartAction()
[all …]
Dpreferences_test.cc61 CefRefPtr<CefDictionaryValue> request_dict = ParseJSON(request); in OnQuery() local
62 if (!request_dict) { in OnQuery()
68 if (!VerifyKey(request_dict, kNameKey, VTYPE_STRING, callback)) in OnQuery()
71 const std::string& message_name = request_dict->GetString(kNameKey); in OnQuery()
76 if (!VerifyKey(request_dict, kIncludeDefaultsKey, VTYPE_BOOL, callback)) in OnQuery()
79 const bool include_defaults = request_dict->GetBool(kIncludeDefaultsKey); in OnQuery()
89 if (!VerifyKey(request_dict, kPreferencesKey, VTYPE_DICTIONARY, callback)) in OnQuery()
93 request_dict->GetDictionary(kPreferencesKey); in OnQuery()
Dmedia_router_test.cc396 CefRefPtr<CefDictionaryValue> request_dict = ParseJSON(request); in OnQuery() local
397 if (!request_dict) { in OnQuery()
403 if (!VerifyKey(request_dict, kNameKey, VTYPE_STRING, callback)) in OnQuery()
406 const std::string& message_name = request_dict->GetString(kNameKey); in OnQuery()
435 if (!VerifyKey(request_dict, kSourceKey, VTYPE_STRING, callback)) in OnQuery()
438 if (!VerifyKey(request_dict, kSinkKey, VTYPE_STRING, callback)) in OnQuery()
441 const std::string& source_urn = request_dict->GetString(kSourceKey); in OnQuery()
442 const std::string& sink_id = request_dict->GetString(kSinkKey); in OnQuery()
454 if (!VerifyKey(request_dict, kRouteKey, VTYPE_STRING, callback)) in OnQuery()
457 const std::string& route_id = request_dict->GetString(kRouteKey); in OnQuery()
[all …]