Searched defs:fetcher (Results 1 - 25 of 155) sorted by relevance

1234567

/external/chromium_org/components/feedback/
H A Dfeedback_uploader_chrome.cc44 net::URLFetcher* fetcher = net::URLFetcher::Create( local
51 fetcher->SetUploadData(std::string(kProtoBufMimeType), data);
52 fetcher->SetRequestContext(context_->GetRequestContext());
53 fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
55 fetcher->Start();
/external/chromium_org/chrome/browser/extensions/
H A Dblacklist_state_fetcher_unittest.cc28 BlacklistStateFetcher fetcher; local
29 TestBlacklistStateFetcher tester(&fetcher);
35 fetcher.Request("a", base::Bind(&Assign, &result));
42 BlacklistStateFetcher fetcher; local
43 TestBlacklistStateFetcher tester(&fetcher);
57 fetcher.Request("a", base::Bind(&Assign, &result[0]));
58 fetcher.Request("a", base::Bind(&Assign, &result[1]));
59 fetcher.Request("b", base::Bind(&Assign, &result[2]));
60 fetcher.Request("b", base::Bind(&Assign, &result[3]));
61 fetcher
[all...]
H A Dtest_blacklist.h79 const BlacklistStateFetcherMock* fetcher() { return &state_fetcher_mock_; } function in class:extensions::TestBlacklist
H A Dblacklist_unittest.cc198 int old_request_count = tester.fetcher()->request_count();
207 EXPECT_EQ(old_request_count, tester.fetcher()->request_count());
225 // Prepare real fetcher.
226 BlacklistStateFetcher* fetcher = new BlacklistStateFetcher(); local
227 TestBlacklistStateFetcher fetcher_tester(fetcher);
228 blacklist.SetBlacklistStateFetcherForTest(fetcher);
H A Dtest_blacklist_state_fetcher.cc35 BlacklistStateFetcher* fetcher) : fetcher_(fetcher) {
34 TestBlacklistStateFetcher( BlacklistStateFetcher* fetcher) argument
/external/chromium_org/components/captive_portal/
H A Dcaptive_portal_testing_utils.h33 // Sets URL fetcher state and notifies portal detector.
42 net::TestURLFetcher* fetcher() { return factory_.GetFetcherByID(0); } function in class:captive_portal::CaptivePortalDetectorTestBase
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DXMLDocumentParserScope.cpp33 XMLDocumentParserScope::XMLDocumentParserScope(ResourceFetcher* fetcher) argument
39 currentFetcher = fetcher;
42 XMLDocumentParserScope::XMLDocumentParserScope(ResourceFetcher* fetcher, xmlGenericErrorFunc genericErrorFunc, xmlStructuredErrorFunc structuredErrorFunc, void* errorContext) argument
48 currentFetcher = fetcher;
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_report_uploader_impl_unittest.cc48 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID( local
50 ASSERT_NE(static_cast<net::TestURLFetcher*>(NULL), fetcher); local
54 EXPECT_EQ(net::LOAD_DISABLE_CACHE, fetcher->GetLoadFlags());
55 EXPECT_TRUE(uploaded_report.ParseFromString(fetcher->upload_data()));
57 fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0));
58 fetcher->set_response_code(net::HTTP_OK);
61 fetcher->SetResponseString(response);
63 fetcher->delegate()->OnURLFetchComplete(fetcher);
/external/chromium_org/components/domain_reliability/
H A Duploader_unittest.cc59 net::TestURLFetcher* fetcher; local
61 fetcher = url_fetcher_factory_.GetFetcherByID(0);
62 EXPECT_FALSE(fetcher);
66 net::TestURLFetcher* fetcher; local
72 fetcher = url_fetcher_factory_.GetFetcherByID(0);
73 EXPECT_TRUE(fetcher);
74 EXPECT_EQ(report_json, fetcher->upload_data());
75 EXPECT_EQ(upload_url, fetcher->GetOriginalURL());
76 EXPECT_TRUE(fetcher->GetLoadFlags() & net::LOAD_DO_NOT_SAVE_COOKIES);
77 EXPECT_TRUE(fetcher
91 net::TestURLFetcher* fetcher; local
114 net::TestURLFetcher* fetcher; local
[all...]
/external/chromium_org/content/browser/speech/
H A Dgoogle_one_shot_remote_engine_unittest.cc24 // Creates a speech recognition request and invokes its URL fetcher delegate
64 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local
65 ASSERT_TRUE(fetcher);
67 fetcher->set_url(fetcher->GetOriginalURL());
71 fetcher->set_status(status);
72 fetcher->set_response_code(success ? 200 : 500);
73 fetcher->SetResponseString(http_response);
75 fetcher->delegate()->OnURLFetchComplete(fetcher);
[all...]
/external/chromium_org/mojo/tools/package_manager/
H A Dpackage_manager_application.h33 scoped_ptr<PackageFetcher> fetcher; member in struct:mojo::PackageManagerApplication::PendingLoad
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontLoader.h21 static PassRefPtrWillBeRawPtr<FontLoader> create(CSSFontSelector* fontSelector, ResourceFetcher* fetcher) argument
23 return adoptRefWillBeNoop(new FontLoader(fontSelector, fetcher));
H A DCSSImageValue.h50 StyleFetchedImage* cachedImage(ResourceFetcher* fetcher) { return cachedImage(fetcher, ResourceFetcher::defaultResourceOptions()); } argument
/external/chromium_org/third_party/libaddressinput/chromium/
H A Dchrome_metadata_source.h41 scoped_ptr<net::URLFetcher> fetcher,
48 scoped_ptr<net::URLFetcher> fetcher; member in struct:autofill::ChromeMetadataSource::Request
58 // Maps from active URL fetcher to request metadata. The value is owned.
/external/chromium_org/chrome/browser/
H A Dintranet_redirect_detector.cc83 net::URLFetcher* fetcher = net::URLFetcher::Create( local
86 fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE |
89 fetcher->SetRequestContext(g_browser_process->system_request_context());
90 fetcher->Start();
91 fetchers_.insert(fetcher);
97 // Delete the fetcher on this function's exit.
98 Fetchers::iterator fetcher = fetchers_.find( local
100 DCHECK(fetcher != fetchers_.end());
101 scoped_ptr<net::URLFetcher> clean_up_fetcher(*fetcher);
102 fetchers_.erase(fetcher);
[all...]
/external/chromium_org/components/dom_distiller/core/
H A Ddistiller_url_fetcher.cc49 net::URLFetcher* fetcher = local
51 fetcher->SetRequestContext(context_getter);
53 fetcher->SetMaxRetriesOn5xx(kMaxRetries);
54 return fetcher;
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceUriElement.cpp91 ResourceFetcher* fetcher = document().fetcher(); local
93 m_resource = fetcher->fetchFont(request);
96 m_resource->beginLoadIfNeeded(fetcher);
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXSLImportRule.cpp75 ResourceFetcher* fetcher = 0; local
84 fetcher = rootSheet->fetcher();
101 FetchRequest request(ResourceRequest(fetcher->document()->completeURL(absHref)), FetchInitiatorTypeNames::xml, fetchOptions);
103 ResourcePtr<Resource> resource = fetcher->fetchSynchronously(request);
/external/chromium_org/chrome/browser/autocomplete/
H A Dzero_suggest_provider_unittest.cc139 net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID(1); local
140 ASSERT_TRUE(fetcher);
141 fetcher->set_response_code(200);
145 fetcher->SetResponseString(json_response);
146 fetcher->delegate()->OnURLFetchComplete(fetcher);
179 net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID(1); local
180 ASSERT_TRUE(fetcher);
181 fetcher->set_response_code(200);
185 fetcher
226 net::TestURLFetcher* fetcher = test_factory_.GetFetcherByID(1); local
[all...]
/external/chromium_org/chrome/browser/autofill/
H A Dautofill_server_browsertest.cc74 net::TestURLFetcher* fetcher = factory_->GetFetcherByID(fetcher_id); variable
75 if (fetcher->upload_data() == expected_upload_data_)
78 // Not interested in any further status updates from this fetcher.
79 fetcher->SetDelegateForTests(NULL);
/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dattestation_ca_client.cc70 DCHECK(result) << "Invalid fetcher setting.";
80 net::URLFetcher* fetcher = net::URLFetcher::Create(0, local
84 fetcher->SetRequestContext(g_browser_process->system_request_context());
85 fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES |
88 fetcher->SetUploadData(kMimeContentType, request);
89 pending_requests_[fetcher] = on_response;
90 fetcher->Start();
H A Dattestation_ca_client_unittest.cc44 net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0); local
45 CHECK(fetcher);
46 fetcher->set_status(net::URLRequestStatus(status, 0));
47 fetcher->set_response_code(response_code);
48 fetcher->SetResponseString(fetcher->upload_data() + "_response");
49 fetcher->delegate()->OnURLFetchComplete(fetcher);
/external/chromium_org/chrome/browser/chromeos/login/
H A Deula_browsertest.cc42 scoped_ptr<net::FakeURLFetcher> fetcher(
44 OnRequestCreate(url, fetcher.get());
45 return fetcher.Pass();
51 void AddMimeHeader(const GURL& url, net::FakeURLFetcher* fetcher) { argument
55 fetcher->set_response_headers(download_headers);
/external/chromium_org/chrome/browser/extensions/api/feedback_private/
H A Dfeedback_service.cc96 system_logs::ScrubbedSystemLogsFetcher* fetcher = local
98 fetcher->Fetch(base::Bind(&FeedbackService::OnSystemLogsFetchComplete,
/external/chromium_org/chrome/browser/local_discovery/
H A Dgcd_api_flow_unittest.cc80 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local
83 fetcher->GetOriginalURL());
86 fetcher->GetExtraRequestHeaders(&headers);
94 fetcher->SetResponseString(kSampleConfirmResponse);
95 fetcher->set_status(
97 fetcher->set_response_code(200);
101 fetcher->delegate()->OnURLFetchComplete(fetcher);
112 net::TestURLFetcher* fetcher = fetcher_factory_.GetFetcherByID(0); local
115 fetcher
[all...]

Completed in 643 milliseconds

1234567