Home
last modified time | relevance | path

Searched refs:response_data (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/components/autofill/core/browser/
Dautofill_manager_unittest.cc714 FormData* response_data) { in FillAutofillFormDataAndSaveResults() argument
717 testing::SaveArg<1>(response_data)))); in FillAutofillFormDataAndSaveResults()
1598 FormData response_data; in TEST_F() local
1600 PackGUIDs(empty, guid), &response_page_id, &response_data); in TEST_F()
1602 response_page_id, response_data, kDefaultPageID, false); in TEST_F()
1621 FormData response_data; in TEST_F() local
1623 PackGUIDs(empty, guid), &response_page_id, &response_data); in TEST_F()
1625 response_page_id, response_data, kDefaultPageID, false); in TEST_F()
1639 FormData response_data; in TEST_F() local
1641 PackGUIDs(guid, empty), &response_page_id, &response_data); in TEST_F()
[all …]
/external/chromium_org/net/dns/
Ddns_response_unittest.cc164 const uint8 response_data[] = { in TEST() local
208 memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); in TEST()
216 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *other_query)); in TEST()
222 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *wrong_query)); in TEST()
226 EXPECT_TRUE(resp.InitParse(sizeof(response_data), *query)); in TEST()
277 const uint8 response_data[] = { in TEST() local
301 memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); in TEST()
303 EXPECT_TRUE(resp.InitParseWithoutQuery(sizeof(response_data))); in TEST()
324 const uint8 response_data[] = { in TEST() local
359 memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); in TEST()
[all …]
/external/chromium_org/net/url_request/
Dtest_url_fetcher_factory.cc286 const std::string& response_data, in FakeURLFetcher() argument
308 SetResponseString(response_data); in FakeURLFetcher()
345 const std::string& response_data, in DefaultFakeURLFetcherCreator() argument
349 new FakeURLFetcher(url, delegate, response_data, response_code, status)); in DefaultFakeURLFetcherCreator()
371 creator_.Run(url, d, it->second.response_data, in CreateURLFetcher()
379 const std::string& response_data, in SetFakeResponse() argument
384 response.response_data = response_data; in SetFakeResponse()
Durl_request_job_unittest.cc22 std::string* response_data) { in GZipServer() argument
23 response_data->assign(kGzipGata, sizeof(kGzipGata)); in GZipServer()
Dtest_url_fetcher_factory.h289 const std::string& response_data,
413 const std::string& response_data,
423 std::string response_data; member
436 const std::string& response_data,
/external/chromium/chrome/common/net/
Dtest_url_fetcher_factory.cc63 const std::string& response_data, bool success) in FakeURLFetcher() argument
66 response_data_(response_data), in FakeURLFetcher()
125 const std::string& response_data, in SetFakeResponse() argument
128 fake_responses_[GURL(url)] = std::make_pair(response_data, success); in SetFakeResponse()
/external/chromium/chrome/browser/policy/
Ddevice_management_service_unittest.cc310 std::string response_data; in TEST_F() local
313 ASSERT_TRUE(response_wrapper.SerializeToString(&response_data)); in TEST_F()
320 response_data); in TEST_F()
352 std::string response_data; in TEST_F() local
355 ASSERT_TRUE(response_wrapper.SerializeToString(&response_data)); in TEST_F()
362 response_data); in TEST_F()
427 std::string response_data; in TEST_F() local
430 ASSERT_TRUE(response_wrapper.SerializeToString(&response_data)); in TEST_F()
437 response_data); in TEST_F()
Ddevice_management_service_browsertest.cc48 const std::string& response_data) in CannedResponseInterceptor() argument
50 response_data_(response_data) { in CannedResponseInterceptor()
/external/chromium_org/chrome/browser/extensions/
Dwebstore_install_helper.cc98 std::string response_data; in OnURLFetchComplete() local
99 source->GetResponseAsString(&response_data); in OnURLFetchComplete()
101 response_data.begin(), in OnURLFetchComplete()
102 response_data.end()); in OnURLFetchComplete()
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc142 std::string response_data; member
181 rv = ReadTransaction(trans.get(), &out.response_data); in SimpleGetHelper()
352 EXPECT_EQ("hello world", out.response_data); in TEST_F()
365 EXPECT_EQ("hello world", out.response_data); in TEST_F()
378 EXPECT_EQ("DATA", out.response_data); in TEST_F()
391 EXPECT_EQ("DATA", out.response_data); in TEST_F()
404 EXPECT_EQ("xxxxxHTTP/1.1 404 Not Found\nServer: blah", out.response_data); in TEST_F()
421 EXPECT_EQ("DATA", out.response_data); in TEST_F()
434 EXPECT_EQ("HTT", out.response_data); in TEST_F()
450 EXPECT_EQ("", out.response_data); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/policy/cloud/
Ddevice_management_service_browsertest.cc43 std::string* response_data) { in ConstructResponse() argument
62 ASSERT_TRUE(response.SerializeToString(response_data)); in ConstructResponse()
73 std::string response_data; in ResponseJob() local
78 &response_data); in ResponseJob()
83 response_data, in ResponseJob()
/external/chromium_org/components/policy/core/common/cloud/
Ddevice_management_service_unittest.cc418 std::string response_data; in TEST_F() local
419 ASSERT_TRUE(expected_response.SerializeToString(&response_data)); in TEST_F()
421 SendResponse(fetcher, status, 200, response_data); in TEST_F()
445 std::string response_data; in TEST_F() local
446 ASSERT_TRUE(expected_response.SerializeToString(&response_data)); in TEST_F()
448 SendResponse(fetcher, status, 200, response_data); in TEST_F()
478 std::string response_data; in TEST_F() local
479 ASSERT_TRUE(expected_response.SerializeToString(&response_data)); in TEST_F()
481 SendResponse(fetcher, status, 200, response_data); in TEST_F()
552 std::string response_data; in TEST_F() local
[all …]
/external/chromium_org/net/http/
Dhttp_network_transaction_unittest.cc246 std::string response_data; member
329 rv = ReadTransaction(trans.get(), &out.response_data); in SimpleGetHelperForData()
586 EXPECT_EQ("hello world", out.response_data); in TEST_P()
599 EXPECT_EQ("hello world", out.response_data); in TEST_P()
612 EXPECT_EQ("DATA", out.response_data); in TEST_P()
625 EXPECT_EQ("DATA", out.response_data); in TEST_P()
638 EXPECT_EQ("xxxxxHTTP/1.1 404 Not Found\nServer: blah", out.response_data); in TEST_P()
655 EXPECT_EQ("DATA", out.response_data); in TEST_P()
668 EXPECT_EQ("HTT", out.response_data); in TEST_P()
684 EXPECT_EQ("", out.response_data); in TEST_P()
[all …]
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc56 std::string response_data; member
185 output_.rv = ReadTransaction(trans_.get(), &output_.response_data); in RunDefaultTest()
547 EXPECT_EQ("hello!", out.response_data); in TEST_P()
599 EXPECT_EQ("hello!", out.response_data); in TEST_P()
699 out.rv = ReadTransaction(trans1.get(), &out.response_data); in TEST_P()
705 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
777 out.rv = ReadTransaction(trans1.get(), &out.response_data); in TEST_P()
780 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
787 out.rv = ReadTransaction(trans2.get(), &out.response_data); in TEST_P()
790 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
[all …]
/external/chromium/chrome/browser/extensions/
Dautoupdate_interceptor.cc19 const std::string& response_data) in AutoUpdateTestRequestJob() argument
22 response_data, in AutoUpdateTestRequestJob()
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_feedback.cc157 const std::string& response_data) { in FinishedUpload() argument
159 DVLOG(1) << __FUNCTION__ << " " << state << " rlen=" << response_data.size(); in FinishedUpload()
164 if (!response.ParseFromString(response_data) || in FinishedUpload()
Dsafe_browsing_test.cc413 const std::string& response_data() { in response_data() function in SafeBrowsingServerTestHelper
497 EXPECT_TRUE(ParsePhishingUrls(safe_browsing_helper->response_data(), in IN_PROC_BROWSER_TEST_F()
524 EXPECT_GT(safe_browsing_helper->response_data().size(), 0U); in IN_PROC_BROWSER_TEST_F()
531 EXPECT_EQ("yes", safe_browsing_helper->response_data()); in IN_PROC_BROWSER_TEST_F()
Dclient_side_detection_service_unittest.cc109 void SetModelFetchResponse(std::string response_data, in SetModelFetchResponse() argument
113 response_data, response_code, status); in SetModelFetchResponse()
116 void SetClientReportPhishingResponse(std::string response_data, in SetClientReportPhishingResponse() argument
122 response_data, response_code, status); in SetClientReportPhishingResponse()
125 void SetClientReportMalwareResponse(std::string response_data, in SetClientReportMalwareResponse() argument
131 response_data, response_code, status); in SetClientReportMalwareResponse()
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc102 std::string response_data; member
249 output_.rv = ReadTransaction(trans_.get(), &output_.response_data); in FinishDefaultTest()
732 EXPECT_EQ("hello!", out.response_data); in TEST_P()
806 EXPECT_EQ("hello!", out.response_data); in TEST_P()
907 out.rv = ReadTransaction(trans1.get(), &out.response_data); in TEST_P()
913 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
985 out.rv = ReadTransaction(trans1.get(), &out.response_data); in TEST_P()
988 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
995 out.rv = ReadTransaction(trans2.get(), &out.response_data); in TEST_P()
998 EXPECT_EQ("hello!hello!", out.response_data); in TEST_P()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/
Deula_browsertest.cc39 const std::string& response_data, in CreateURLFetcher() argument
43 new net::FakeURLFetcher(url, d, response_data, response_code, status)); in CreateURLFetcher()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc231 const std::string& response_data, in URLRequestTestDelayedStartJob() argument
236 response_data, in URLRequestTestDelayedStartJob()
311 const std::string& response_data, in URLRequestTestDelayedCompletionJob() argument
316 response_data, in URLRequestTestDelayedCompletionJob()
1798 std::string response_data("<html><title>Test One</title></html>"); in TEST_F() local
1799 SetResponse(raw_headers, response_data); in TEST_F()
1821 std::string response_data("<html><title>Test One</title></html>"); in TEST_F() local
1822 SetResponse(raw_headers, response_data); in TEST_F()
1903 std::string response_data("<html><title>Test One</title></html>"); in TEST_F() local
1904 SetResponse(raw_headers, response_data); in TEST_F()
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_service_unittest.cc80 void SetModelFetchResponse(std::string response_data, bool success) { in SetModelFetchResponse() argument
82 response_data, success); in SetModelFetchResponse()
85 void SetClientReportPhishingResponse(std::string response_data, in SetClientReportPhishingResponse() argument
89 response_data, success); in SetClientReportPhishingResponse()
Dsafe_browsing_test.cc507 const std::string& response_data() { in response_data() function in SafeBrowsingServiceTestHelper
599 EXPECT_TRUE(ParsePhishingUrls(safe_browsing_helper->response_data(), in IN_PROC_BROWSER_TEST_F()
628 EXPECT_GT(safe_browsing_helper->response_data().size(), 0U); in IN_PROC_BROWSER_TEST_F()
637 EXPECT_EQ("yes", safe_browsing_helper->response_data()); in IN_PROC_BROWSER_TEST_F()
/external/chromium/net/url_request/
Durl_request_test_job.cc101 const std::string& response_data, in URLRequestTestJob() argument
107 response_data_(response_data), in URLRequestTestJob()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_auth_test.cc66 const std::string& response_data, in SetAuthStateAndTokenResponse() argument
81 SetOAuth2TokenResponse(response_data, response_code, status); in SetAuthStateAndTokenResponse()

123