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

/external/chromium_org/remoting/host/
H A Dtoken_validator_factory_impl_unittest.cc106 base::DictionaryValue response_dict; local
107 response_dict.SetString("access_token", kSharedSecret);
108 response_dict.SetString("token_type", "shared_secret");
109 response_dict.SetString("scope", scope);
111 base::JSONWriter::Write(&response_dict, &response);
116 base::DictionaryValue response_dict; local
117 response_dict.SetString("error", error);
119 base::JSONWriter::Write(&response_dict, &response);
/external/chromium_org/google_apis/gaia/
H A Dfake_gaia.cc331 void FakeGaia::FormatJSONResponse(const base::DictionaryValue& response_dict, argument
334 base::JSONWriter::Write(&response_dict, &response_json);
481 base::DictionaryValue response_dict; local
482 response_dict.SetString("refresh_token",
484 response_dict.SetString("access_token",
486 response_dict.SetInteger("expires_in", 3600);
487 FormatJSONResponse(response_dict, http_response);
498 base::DictionaryValue response_dict; local
499 response_dict.SetString("access_token", token_info->token);
500 response_dict
530 base::DictionaryValue response_dict; local
556 base::DictionaryValue response_dict; local
[all...]
H A Dgaia_oauth_client.cc264 scoped_ptr<base::DictionaryValue> response_dict; local
271 response_dict.reset(
276 if (!response_dict.get()) {
296 response_dict->GetString("email", &email);
303 response_dict->GetString("id", &id);
309 delegate_->OnGetUserInfoResponse(response_dict.Pass());
314 delegate_->OnGetTokenInfoResponse(response_dict.Pass());
323 response_dict->GetString(kAccessTokenValue, &access_token);
324 response_dict->GetString(kRefreshTokenValue, &refresh_token);
325 response_dict
[all...]
H A Dfake_gaia.h126 // Formats a JSON response with the data in |response_dict|.
127 void FormatJSONResponse(const base::DictionaryValue& response_dict,
/external/skia/gm/rebaseline_server/
H A Dresults.py82 """Package the results of some/all tests as a complete response_dict.
93 response_dict = self._results[results_type]
95 response_dict[imagepairset.KEY__ROOT__HEADER] = {
112 response_dict[imagepairset.KEY__ROOT__IMAGEPAIRS]))),
120 return response_dict
H A 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/
H A Ddevtools_protocol.cc266 base::DictionaryValue* response_dict) {
268 if (!response_dict->GetInteger(kIdParam, &id))
272 if (response_dict->GetDictionary(kErrorParam, &error_dict)) {
274 response_dict->GetInteger(kErrorCodeParam, &error_code);
276 response_dict->GetString(kErrorMessageParam, &error_message);
281 response_dict->GetDictionary(kResultParam, &result);
265 ParseResponse( base::DictionaryValue* response_dict) argument
H A Ddevtools_protocol.h181 base::DictionaryValue* response_dict);
/external/chromium_org/third_party/skia/gm/rebaseline_server/
H A Dresults.py94 """Package the results of some/all tests as a complete response_dict.
105 response_dict = self._results[results_type]
124 response_dict[imagepairset.KEY__ROOT__IMAGEPAIRS]))),
136 response_dict[imagepairset.KEY__ROOT__HEADER] = header_dict
137 return response_dict
H A Dserver.py577 response_dict = results_obj.get_packaged_results_of_type(
582 response_dict = {
592 self.send_json_dict(response_dict)
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_client.cc569 scoped_ptr<base::DictionaryValue> response_dict; local
587 response_dict.reset(
599 response_dict.reset(
606 if (!response_dict->GetString(kErrorTypeKey, &error_type_string)) {
616 if (response_dict->GetString(kMessageTypeForBuyerKey,
637 if (type != ACCEPT_LEGAL_DOCUMENTS && !response_dict) {
649 if (response_dict->GetString(kAuthResultKey, &auth_result)) {
662 FullWallet::CreateFullWallet(*response_dict));
675 WalletItems::CreateWalletItems(*response_dict));
687 response_dict
[all...]
/external/chromium_org/chrome/browser/extensions/api/gcd_private/
H A Dgcd_private_apitest.cc208 base::DictionaryValue* response_dict; variable
209 ASSERT_TRUE(response->GetAsDictionary(&response_dict));
211 request->OnGCDAPIFlowComplete(*response_dict);
/external/chromium_org/chrome/service/cloud_print/
H A Dcloud_print_url_fetcher.cc203 scoped_ptr<base::DictionaryValue> response_dict = local
206 if (response_dict) {
209 response_dict.get(),
/external/chromium_org/chrome/common/cloud_print/
H A Dcloud_print_helpers.cc197 scoped_ptr<base::DictionaryValue> response_dict(
200 !response_dict->GetBoolean(kSuccessValue, succeeded))
202 return response_dict.Pass();
/external/chromium_org/testing/gtest/scripts/
H A 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/
H A Dcodereview.py2842 response_dict = dict(x.split("=") for x in response_body.split("\n") if x)
2843 return response_dict["Auth"]
2847 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x)
2848 raise ClientLoginError(req.get_full_url(), e.code, e.msg, e.headers, response_dict)
/external/regex-re2/lib/codereview/
H A 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)

Completed in 1246 milliseconds