Home
last modified time | relevance | path

Searched refs:response_dict (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/google_apis/gaia/
Dfake_gaia.cc300 void FakeGaia::FormatJSONResponse(const base::DictionaryValue& response_dict, in FormatJSONResponse() argument
303 base::JSONWriter::Write(&response_dict, &response_json); in FormatJSONResponse()
444 base::DictionaryValue response_dict; in HandleAuthToken() local
445 response_dict.SetString("refresh_token", in HandleAuthToken()
447 response_dict.SetString("access_token", in HandleAuthToken()
449 response_dict.SetInteger("expires_in", 3600); in HandleAuthToken()
450 FormatJSONResponse(response_dict, http_response); in HandleAuthToken()
460 base::DictionaryValue response_dict; in HandleAuthToken() local
461 response_dict.SetString("access_token", token_info->token); in HandleAuthToken()
462 response_dict.SetInteger("expires_in", 3600); in HandleAuthToken()
[all …]
Dgaia_oauth_client.cc254 scoped_ptr<base::DictionaryValue> response_dict; in HandleResponse() local
261 response_dict.reset( in HandleResponse()
266 if (!response_dict.get()) { in HandleResponse()
286 response_dict->GetString("email", &email); in HandleResponse()
293 response_dict->GetString("id", &id); in HandleResponse()
299 delegate_->OnGetTokenInfoResponse(response_dict.Pass()); in HandleResponse()
308 response_dict->GetString(kAccessTokenValue, &access_token); in HandleResponse()
309 response_dict->GetString(kRefreshTokenValue, &refresh_token); in HandleResponse()
310 response_dict->GetInteger(kExpiresInValue, &expires_in_seconds); in HandleResponse()
Dfake_gaia.h123 void FormatJSONResponse(const base::DictionaryValue& response_dict,
/external/chromium_org/remoting/host/
Dtoken_validator_factory_impl_unittest.cc106 base::DictionaryValue response_dict; in CreateResponse() local
107 response_dict.SetString("access_token", kSharedSecret); in CreateResponse()
108 response_dict.SetString("token_type", "shared_secret"); in CreateResponse()
109 response_dict.SetString("scope", scope); in CreateResponse()
111 base::JSONWriter::Write(&response_dict, &response); in CreateResponse()
116 base::DictionaryValue response_dict; in CreateErrorResponse() local
117 response_dict.SetString("error", error); in CreateErrorResponse()
119 base::JSONWriter::Write(&response_dict, &response); in CreateErrorResponse()
/external/chromium_org/chrome/browser/extensions/api/gcd_private/
Dgcd_private_apitest.cc93 base::DictionaryValue* response_dict; in Start() local
94 ASSERT_TRUE(response->GetAsDictionary(&response_dict)); in Start()
96 request->OnGCDAPIFlowComplete(*response_dict); in Start()
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_client.cc557 scoped_ptr<base::DictionaryValue> response_dict; in OnURLFetchComplete() local
576 response_dict.reset( in OnURLFetchComplete()
583 if (!response_dict->GetString(kErrorTypeKey, &error_type_string)) { in OnURLFetchComplete()
594 if (response_dict->GetString(kMessageTypeForBuyerKey, in OnURLFetchComplete()
617 if (type != ACCEPT_LEGAL_DOCUMENTS && !response_dict) { in OnURLFetchComplete()
629 if (response_dict->GetString(kAuthResultKey, &auth_result)) { in OnURLFetchComplete()
642 FullWallet::CreateFullWallet(*response_dict)); in OnURLFetchComplete()
655 WalletItems::CreateWalletItems(*response_dict)); in OnURLFetchComplete()
667 response_dict->GetString(kInstrumentIdKey, &instrument_id); in OnURLFetchComplete()
669 response_dict->GetString(kShippingAddressIdKey, in OnURLFetchComplete()
[all …]
/external/chromium_org/third_party/skia/gm/rebaseline_server/
Dresults.py93 response_dict = self._results[results_type]
95 response_dict[imagepairset.KEY__ROOT__HEADER] = {
112 response_dict[imagepairset.KEY__ROOT__IMAGEPAIRS]))),
120 return response_dict
Dserver.py459 response_dict = results_obj.get_packaged_results_of_type(
464 response_dict = {
474 self.send_json_dict(response_dict)
/external/skia/gm/rebaseline_server/
Dresults.py93 response_dict = self._results[results_type]
95 response_dict[imagepairset.KEY__ROOT__HEADER] = {
112 response_dict[imagepairset.KEY__ROOT__IMAGEPAIRS]))),
120 return response_dict
Dserver.py459 response_dict = results_obj.get_packaged_results_of_type(
464 response_dict = {
474 self.send_json_dict(response_dict)
/external/chromium_org/content/browser/devtools/
Ddevtools_protocol.cc263 base::DictionaryValue* response_dict) { in ParseResponse() argument
265 if (!response_dict->GetInteger(kIdParam, &id)) in ParseResponse()
269 if (response_dict->GetDictionary(kErrorParam, &error_dict)) { in ParseResponse()
271 response_dict->GetInteger(kErrorCodeParam, &error_code); in ParseResponse()
273 response_dict->GetString(kErrorMessageParam, &error_message); in ParseResponse()
278 response_dict->GetDictionary(kResultParam, &result); in ParseResponse()
Ddevtools_protocol.h181 base::DictionaryValue* response_dict);
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_url_fetcher.cc203 scoped_ptr<base::DictionaryValue> response_dict = in OnURLFetchComplete() local
206 if (response_dict) { in OnURLFetchComplete()
209 response_dict.get(), in OnURLFetchComplete()
/external/chromium_org/chrome/common/cloud_print/
Dcloud_print_helpers.cc197 scoped_ptr<base::DictionaryValue> response_dict( in ParseResponseJSON() local
200 !response_dict->GetBoolean(kSuccessValue, succeeded)) in ParseResponseJSON()
202 return response_dict.Pass(); in ParseResponseJSON()
/external/chromium_org/testing/gtest/scripts/
Dupload.py203 response_dict = dict(x.split("=")
205 return response_dict["Auth"]
209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x)
211 e.headers, response_dict)
/external/chromium_org/third_party/re2/lib/codereview/
Dcodereview.py2839 response_dict = dict(x.split("=") for x in response_body.split("\n") if x)
2840 return response_dict["Auth"]
2844 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x)
2845 raise ClientLoginError(req.get_full_url(), e.code, e.msg, e.headers, response_dict)
/external/regex-re2/lib/codereview/
Dcodereview.py2839 response_dict = dict(x.split("=") for x in response_body.split("\n") if x)
2840 return response_dict["Auth"]
2844 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x)
2845 raise ClientLoginError(req.get_full_url(), e.code, e.msg, e.headers, response_dict)