Home
last modified time | relevance | path

Searched refs:HTTP_NOT_MODIFIED (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/google_apis/drive/
Dgdata_errorcode.h18 HTTP_NOT_MODIFIED = 304, enumerator
Dgdata_errorcode.cc26 case HTTP_NOT_MODIFIED: in GDataErrorCodeToString()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpResponseCacheTest.java940 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
941 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
960 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding()
975 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled()
1164 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition()
1172 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition()
1217 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat()
1233 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult()
1239 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult()
1339 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess()
[all …]
DResponseCacheTest.java738 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
739 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached()
758 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding()
934 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition()
942 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition()
963 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult()
969 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult()
1069 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess()
1123 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in cachePlusCookies()
1142 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in getHeadersReturnsNetworkEndToEndHeaders()
[all …]
DHttpOverSpdyTest.java372 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()
DURLConnectionTest.java2895 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)
2902 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_service_unittest.cc287 net::HTTP_NOT_MODIFIED, in TEST_F()
327 SimulateServerResponse(net::HTTP_NOT_MODIFIED, fetcher); in TEST_F()
Dvariations_service.cc495 response_code == net::HTTP_NOT_MODIFIED) { in OnURLFetchComplete()
511 if (response_code == net::HTTP_NOT_MODIFIED) { in OnURLFetchComplete()
/external/chromium_org/components/data_reduction_proxy/common/
Ddata_reduction_proxy_headers.cc131 (headers->response_code() != net::HTTP_NOT_MODIFIED)) { in GetDataReductionProxyBypassEventType()
/external/chromium_org/chrome/browser/drive/
Ddummy_drive_service.cc47 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
Ddrive_api_service.cc725 callback.Run(google_apis::HTTP_NOT_MODIFIED, access_token); in RequestAccessToken()
Dfake_drive_service.cc318 callback.Run(google_apis::HTTP_NOT_MODIFIED, "fake_access_token"); in RequestAccessToken()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Ddrive_backend_util.cc196 case google_apis::HTTP_NOT_MODIFIED: in GDataErrorCodeToSyncStatusCode()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java54 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED;
497 && responseCode != HTTP_NOT_MODIFIED) { in hasResponseBody()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java196 if (network.code() == HttpURLConnection.HTTP_NOT_MODIFIED) { in validate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSyncApiTest.java145 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
DAsyncApiTest.java159 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Dremote_sync_delegate.cc210 if (error == google_apis::HTTP_NOT_MODIFIED) { in DidDownloadFile()
Dlocal_sync_delegate.cc237 case google_apis::HTTP_NOT_MODIFIED: in DidUploadExistingFile()
Dapi_util_unittest.cc463 EXPECT_EQ(google_apis::HTTP_NOT_MODIFIED, output.error); in TestDownloadFileInNotModified()
Dapi_util.cc782 callback.Run(google_apis::HTTP_NOT_MODIFIED, in DownloadFileInternal()