Home
last modified time | relevance | path

Searched refs:URLRequestStatus (Results 1 – 25 of 125) sorted by relevance

12345

/external/chromium/chrome/common/net/gaia/
Dgaia_auth_fetcher_unittest.cc41 net::URLRequestStatus::Status code; in Start()
45 code = net::URLRequestStatus::SUCCESS; in Start()
48 code = net::URLRequestStatus::FAILED; in Start()
51 net::URLRequestStatus status(code, 0); in Start()
151 net::URLRequestStatus status(net::URLRequestStatus::FAILED, error_no); in TEST_F()
173 net::URLRequestStatus status(net::URLRequestStatus::FAILED, error_no); in TEST_F()
196 net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); in TEST_F()
256 net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); in TEST_F()
272 net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); in TEST_F()
306 net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); in TEST_F()
[all …]
Dgaia_auth_fetcher.h79 const net::URLRequestStatus& status,
119 const net::URLRequestStatus& status,
123 const net::URLRequestStatus& status,
127 const net::URLRequestStatus& status,
147 const net::URLRequestStatus& status);
/external/chromium/net/url_request/
Durl_request_ftp_job.cc77 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in StartTransaction()
97 SetStatus(URLRequestStatus()); in OnStartCompleted()
128 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, result)); in OnStartCompleted()
135 NotifyDone(URLRequestStatus()); in OnReadCompleted()
137 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, result)); in OnReadCompleted()
140 SetStatus(URLRequestStatus()); in OnReadCompleted()
150 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in RestartTransactionWithAuth()
249 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
251 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, rv)); in ReadRawData()
Durl_request_file_job.cc222 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
224 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, rv)); in ReadRawData()
295 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, in SetExtraRequestHeaders()
343 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, rv)); in DidResolve()
348 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, in DidResolve()
366 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, in DidResolve()
378 SetStatus(URLRequestStatus()); // Clear the IO_PENDING status in DidRead()
380 NotifyDone(URLRequestStatus()); in DidRead()
382 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, result)); in DidRead()
Durl_request_job.cc87 NotifyDone(URLRequestStatus()); in Read()
340 void URLRequestJob::NotifyStartError(const URLRequestStatus &status) { in NotifyStartError()
349 void URLRequestJob::NotifyDone(const URLRequestStatus &status) { in NotifyDone()
404 NotifyDone(URLRequestStatus(URLRequestStatus::CANCELED, in NotifyCanceled()
411 if (GetStatus().status() != URLRequestStatus::CANCELED) in NotifyRestartRequired()
419 NotifyDone(URLRequestStatus()); in ReadRawData()
508 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, in ReadFilteredData()
534 const URLRequestStatus URLRequestJob::GetStatus() { in GetStatus()
538 return URLRequestStatus(URLRequestStatus::CANCELED, in GetStatus()
542 void URLRequestJob::SetStatus(const URLRequestStatus &status) { in SetStatus()
[all …]
Durl_request_file_dir_job.cc93 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
163 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, error)); in OnListDone()
195 SetStatus(URLRequestStatus()); in CompleteRead()
200 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, 0)); in CompleteRead()
Durl_request_job_tracker_unittest.cc58 const URLRequestStatus& status));
98 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
103 SetStatus(URLRequestStatus()); in ReadRawData()
111 NotifyDone(URLRequestStatus()); in OnReadCompleted()
113 SetStatus(URLRequestStatus()); in OnReadCompleted()
170 StatusEq(URLRequestStatus()))); in AssertJobTrackerCallbacks()
Durl_request_job.h30 class URLRequestStatus; variable
193 void NotifyStartError(const URLRequestStatus& status);
199 void NotifyDone(const URLRequestStatus& status);
246 const URLRequestStatus GetStatus();
249 void SetStatus(const URLRequestStatus& status);
Durl_request_status.h16 class URLRequestStatus {
38 URLRequestStatus() : status_(SUCCESS), os_error_(0) {} in URLRequestStatus() function
39 URLRequestStatus(Status s, int e) : status_(s), os_error_(e) {} in URLRequestStatus() function
Durl_request_http_job.cc286 void URLRequestHttpJob::NotifyDone(const URLRequestStatus& status) { in NotifyDone()
417 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in AddCookieHeaderAndStart()
451 SetStatus(URLRequestStatus()); // Clear the IO_PENDING status in SaveNextCookie()
458 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in SaveNextCookie()
654 SetStatus(URLRequestStatus()); in OnStartCompleted()
688 NotifyStartError(URLRequestStatus(URLRequestStatus::FAILED, result)); in OnStartCompleted()
696 NotifyDone(URLRequestStatus()); in OnReadCompleted()
698 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, result)); in OnReadCompleted()
701 SetStatus(URLRequestStatus()); in OnReadCompleted()
1001 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ContinueWithCertificate()
[all …]
Durl_request_test_job.cc144 NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, in StartAsync()
162 SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
224 SetStatus(URLRequestStatus()); // clear the io pending flag in ProcessNextOperation()
Durl_request_error_job.cc28 NotifyStartError(URLRequestStatus(URLRequestStatus::FAILED, error_)); in StartAsync()
/external/chromium/chrome/common/extensions/
Dextension_localization_peer_unittest.cc73 const net::URLRequestStatus& status,
145 IsURLRequestEqual(net::URLRequestStatus::CANCELED), "", base::Time())); in TEST_F()
147 net::URLRequestStatus status; in TEST_F()
148 status.set_status(net::URLRequestStatus::FAILED); in TEST_F()
161 IsURLRequestEqual(net::URLRequestStatus::SUCCESS), "", base::Time())); in TEST_F()
163 net::URLRequestStatus status; in TEST_F()
164 status.set_status(net::URLRequestStatus::SUCCESS); in TEST_F()
183 net::URLRequestStatus::SUCCESS), "", base::Time())).Times(2); in TEST_F()
185 net::URLRequestStatus status; in TEST_F()
186 status.set_status(net::URLRequestStatus::SUCCESS); in TEST_F()
[all …]
Dextension_localization_peer.cc69 const net::URLRequestStatus& status, in OnCompletedRequest()
76 if (status.status() != net::URLRequestStatus::SUCCESS) { in OnCompletedRequest()
79 net::URLRequestStatus status(net::URLRequestStatus::CANCELED, in OnCompletedRequest()
/external/chromium/chrome/browser/chromeos/login/
Dmock_url_fetchers.cc59 net::URLRequestStatus status; in Start()
60 status.set_status(net::URLRequestStatus::CANCELED); in Start()
81 net::URLRequestStatus success(net::URLRequestStatus::SUCCESS, 0); in Start()
102 net::URLRequestStatus failed(net::URLRequestStatus::FAILED, ECONNRESET); in Start()
148 net::URLRequestStatus success(net::URLRequestStatus::SUCCESS, 0); in Start()
177 net::URLRequestStatus success(net::URLRequestStatus::SUCCESS, 0); in Start()
Dcookie_fetcher_unittest.cc49 net::URLRequestStatus status(net::URLRequestStatus::SUCCESS, 0); in TEST_F()
75 net::URLRequestStatus failed(net::URLRequestStatus::FAILED, ECONNRESET); in TEST_F()
97 net::URLRequestStatus success; in TEST_F()
98 net::URLRequestStatus failed(net::URLRequestStatus::FAILED, ECONNRESET); in TEST_F()
124 net::URLRequestStatus success; in TEST_F()
146 net::URLRequestStatus success; in TEST_F()
Dmock_auth_response_handler.h31 const net::URLRequestStatus& status,
44 const net::URLRequestStatus status_;
50 const net::URLRequestStatus status,
/external/chromium/chrome/browser/policy/
Ddevice_management_service_unittest.cc83 net::URLRequestStatus::Status request_status, in FailedRequestParams()
92 net::URLRequestStatus request_status_;
162 net::URLRequestStatus::FAILED,
167 net::URLRequestStatus::SUCCESS,
172 net::URLRequestStatus::SUCCESS,
177 net::URLRequestStatus::SUCCESS,
182 net::URLRequestStatus::SUCCESS,
187 net::URLRequestStatus::SUCCESS,
192 net::URLRequestStatus::SUCCESS,
197 net::URLRequestStatus::SUCCESS,
[all …]
/external/chromium/chrome/common/net/
Durl_fetcher_unittest.cc83 const net::URLRequestStatus& status,
132 const net::URLRequestStatus& status, in OnURLFetchComplete()
159 const net::URLRequestStatus& status,
171 const net::URLRequestStatus& status,
184 const net::URLRequestStatus& status,
200 const net::URLRequestStatus& status,
216 const net::URLRequestStatus& status,
232 const net::URLRequestStatus& status,
285 const net::URLRequestStatus& status,
322 const net::URLRequestStatus& status, in OnURLFetchComplete()
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_test.cc349 response_status_(net::URLRequestStatus::FAILED) { in SafeBrowsingServiceTestHelper()
450 response_status_ = net::URLRequestStatus::FAILED; in WaitTillServerReady()
456 if (FetchUrl(url) == net::URLRequestStatus::SUCCESS) in WaitTillServerReady()
466 net::URLRequestStatus::Status FetchDBToVerify(const char* host, int port, in FetchDBToVerify()
477 net::URLRequestStatus::Status FetchUrlsToVerify(const char* host, int port, in FetchUrlsToVerify()
488 net::URLRequestStatus::Status VerifyTestComplete(const char* host, int port, in VerifyTestComplete()
498 const net::URLRequestStatus& status, in OnURLFetchComplete()
520 net::URLRequestStatus::Status FetchUrl(const GURL& url) { in FetchUrl()
533 net::URLRequestStatus::Status response_status_;
593 EXPECT_EQ(net::URLRequestStatus::SUCCESS, in IN_PROC_BROWSER_TEST_F()
[all …]
Dclient_side_detection_service.h42 class URLRequestStatus; variable
67 const net::URLRequestStatus& status,
194 const net::URLRequestStatus& status,
203 const net::URLRequestStatus& status,
/external/chromium/chrome/browser/automation/
Durl_request_automation_job.cc147 net::URLRequestStatus(net::URLRequestStatus::CANCELED, in Kill()
168 SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
310 SetStatus(net::URLRequestStatus()); in OnDataAvailable()
327 int id, const net::URLRequestStatus& status) { in OnRequestEnd()
399 NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, in StartAsync()
/external/chromium/chrome/browser/ui/webui/
Dchrome_url_data_manager_backend.cc326 SetStatus(net::URLRequestStatus()); in DataAvailable()
338 NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, in DataAvailable()
346 SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0)); in ReadRawData()
378 NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED, in StartAsync()
/external/chromium/webkit/glue/
Dweburlloader_impl.cc150 net::URLRequestStatus* status) { in GetInfoFromDataURL()
154 *status = net::URLRequestStatus(net::URLRequestStatus::SUCCESS, 0); in GetInfoFromDataURL()
168 *status = net::URLRequestStatus(net::URLRequestStatus::FAILED, in GetInfoFromDataURL()
308 virtual void OnCompletedRequest(const net::URLRequestStatus& status,
631 const net::URLRequestStatus& status, in OnCompletedRequest()
648 if (status.status() != net::URLRequestStatus::SUCCESS) { in OnCompletedRequest()
650 if (status.status() == net::URLRequestStatus::HANDLED_EXTERNALLY) { in OnCompletedRequest()
701 net::URLRequestStatus status; in HandleDataURL()
734 const net::URLRequestStatus::Status& status = in loadSynchronously()
736 if (status != net::URLRequestStatus::SUCCESS && in loadSynchronously()
[all …]
/external/chromium/chrome/browser/autofill/
Dautofill_download_unittest.cc242 net::URLRequestStatus(), in TEST_F()
252 net::URLRequestStatus(), in TEST_F()
258 net::URLRequestStatus(), in TEST_F()
317 net::URLRequestStatus(), in TEST_F()
344 net::URLRequestStatus(), in TEST_F()
451 net::URLRequestStatus(), in TEST_F()
478 net::URLRequestStatus(), in TEST_F()
494 net::URLRequestStatus(), in TEST_F()
527 net::URLRequestStatus(), in TEST_F()

12345