/external/webkit/Source/WebCore/platform/network/qt/ |
ResourceRequestQt.cpp | 48 QNetworkRequest request; local 49 request.setUrl(url()); 50 request.setOriginatingObject(originatingFrame); 60 request.setRawHeader(name, value); 62 request.setRawHeader(name, ""); 67 if (!request.hasRawHeader("Accept")) 68 request.setRawHeader("Accept", "*/*"); 72 request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysNetwork); 75 request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache); 78 request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysCache) [all...] |
/frameworks/support/volley/src/com/android/volley/ |
CacheDispatcher.java | 38 private final BlockingQueue<Request> mCacheQueue; 41 private final BlockingQueue<Request> mNetworkQueue; 62 BlockingQueue<Request> cacheQueue, BlockingQueue<Request> networkQueue, 89 // Get a request from the cache triage queue, blocking until 91 final Request request = mCacheQueue.take(); local 92 request.addMarker("cache-queue-take"); 94 // If the request has been canceled, don't bother dispatching it. 95 if (request.isCanceled()) [all...] |
Network.java | 24 * Performs the specified request. 25 * @param request Request to process 29 public NetworkResponse performRequest(Request<?> request) throws VolleyError;
|
ResponseDelivery.java | 23 public void postResponse(Request<?> request, Response<?> response); 29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); 32 * Posts an error for the given request. 34 public void postError(Request<?> request, VolleyError error);
|
ExecutorDelivery.java | 54 public void postResponse(Request<?> request, Response<?> response) { 55 postResponse(request, response, null); 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { 60 request.markDelivered(); 61 request.addMarker("post-response"); 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); 66 public void postError(Request<?> request, VolleyError error) [all...] |
/external/chromium/net/url_request/ |
https_prober.cc | 43 void HTTPSProber::OnAuthRequired(URLRequest* request, 45 Success(request); 48 void HTTPSProber::OnSSLCertificateError(URLRequest* request, 51 request->ContinueDespiteLastError(); 54 void HTTPSProber::OnResponseStarted(URLRequest* request) { 55 if (request->status().status() == URLRequestStatus::SUCCESS) { 56 Success(request); 58 Failure(request); 62 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { 72 void HTTPSProber::Success(URLRequest* request) { [all...] |
url_request_about_job.cc | 16 URLRequestAboutJob::URLRequestAboutJob(URLRequest* request) 17 : URLRequestJob(request), 22 URLRequestJob* URLRequestAboutJob::Factory(URLRequest* request, 24 return new URLRequestAboutJob(request);
|
/external/chromium/chrome/browser/webdata/ |
web_data_service.cc | 81 NOTREACHED() << "Canceling a nonexistent web data service request"; 106 GenericRequest<TemplateURL>* request = local 108 RegisterRequest(request); 110 request)); 114 GenericRequest<TemplateURLID>* request = local 117 RegisterRequest(request); 119 NewRunnableMethod(this, &WebDataService::RemoveKeywordImpl, request)); 126 GenericRequest<TemplateURL>* request = local 128 RegisterRequest(request); 130 NewRunnableMethod(this, &WebDataService::UpdateKeywordImpl, request)); 135 WebDataRequest* request = local 146 GenericRequest<TemplateURLID>* request = local 158 GenericRequest<int>* request = local 174 GenericRequest2<GURL, SkBitmap>* request = local 184 GenericRequest2<GURL, bool>* request = local 194 GenericRequest<GURL>* request = local 204 GenericRequest<GURL>* request = local 220 GenericRequest2<std::string, std::string>* request = local 229 GenericRequest<std::string>* request = local 242 GenericRequest<std::string>* request = local 259 GenericRequest<PasswordForm>* request = local 268 GenericRequest<PasswordForm>* request = local 277 GenericRequest<PasswordForm>* request = local 287 GenericRequest2<Time, Time>* request = local 305 GenericRequest<PasswordForm>* request = local 316 WebDataRequest* request = local 327 WebDataRequest* request = local 344 GenericRequest<std::vector<FormField> >* request = local 356 WebDataRequest* request = local 371 GenericRequest2<Time, Time>* request = local 384 GenericRequest2<string16, string16>* request = local 397 GenericRequest<AutofillProfile>* request = local 407 GenericRequest<AutofillProfile>* request = local 417 GenericRequest<std::string>* request = local 428 WebDataRequest* request = local 439 GenericRequest<bool>* request = local 449 GenericRequest<CreditCard>* request = local 459 GenericRequest<CreditCard>* request = local 469 GenericRequest<std::string>* request = local 480 WebDataRequest* request = local 493 GenericRequest2<Time, Time>* request = local [all...] |
/external/chromium/chrome/browser/net/ |
url_request_tracking.h | 15 // Sets the given ID on the given request for later retrieval. This information 21 // If you make a request on behalf of a child process other than a renderer, 27 void SetOriginPIDForRequest(int pid, net::URLRequest* request); 29 // Returns the process ID of the request's originator, previously stored with 31 // should be interpreted as meaning the request originated from a renderer 33 int GetOriginPIDForRequest(const net::URLRequest* request);
|
connect_interceptor.cc | 21 net::URLRequest* request) { 22 GURL request_scheme_host(request->url().GetWithEmptyPath()); 28 if (request->referrer().empty()) { 29 if (request->url() != request->original_url()) { 30 // This request was completed with a redirect. 31 GURL original_scheme_host(request->original_url().GetWithEmptyPath()); 44 if (request->original_url().path().length() <= 1) { 51 GURL referring_scheme_host = GURL(request->referrer()).GetWithEmptyPath(); 52 bool is_subresource = !(request->load_flags() & net::LOAD_MAIN_FRAME) [all...] |
connect_interceptor.h | 26 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request); 27 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request); 28 virtual net::URLRequestJob* MaybeInterceptRedirect(net::URLRequest* request,
|
view_blob_internals_job_factory.cc | 23 net::URLRequest* request) { 25 static_cast<ChromeURLRequestContext*>(request->context())-> 28 request, blob_storage_controller);
|
chrome_network_delegate.cc | 21 // If the |request| failed due to problems with a proxy, forward the error to 23 void ForwardProxyErrors(net::URLRequest* request, 26 if (request->status().status() == net::URLRequestStatus::FAILED) { 27 switch (request->status().os_error()) { 32 event_router, profile_id, request->status().os_error()); 64 net::URLRequest* request, 68 request->set_referrer(std::string()); 70 profile_id_, event_router_.get(), request, callback, new_url); 81 void ChromeNetworkDelegate::OnResponseStarted(net::URLRequest* request) { 82 ForwardProxyErrors(request, event_router_.get(), profile_id_) [all...] |
blob_url_request_job_factory.cc | 18 net::URLRequestJob* BlobURLRequestJobFactory(net::URLRequest* request, 22 ResourceDispatcherHost::InfoForRequest(request); 27 // This request is not coming thru resource dispatcher host. 28 data = static_cast<ChromeURLRequestContext*>(request->context())-> 30 controller()->GetBlobDataFromUrl(request->url()); 33 request, data,
|
file_system_url_request_job_factory.cc | 16 net::URLRequestJob* FileSystemURLRequestJobFactory(net::URLRequest* request, 19 static_cast<ChromeURLRequestContext*>(request->context()) 21 const std::string path = request->url().path(); 27 return new fileapi::FileSystemDirURLRequestJob(request, file_system_context, 30 return new fileapi::FileSystemURLRequestJob(request, file_system_context,
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/ |
abort_by_user_wsh.py | 34 def web_socket_do_extra_handshake(request): 38 def web_socket_transfer_data(request):
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
bench_wsh.py | 43 def web_socket_do_extra_handshake(request): 47 def web_socket_transfer_data(request): 48 line = request.ws_stream.receive_message() 56 request.ws_stream.send_message(message)
|
/external/webkit/Source/WebCore/storage/ |
IDBCursorWithValue.cpp | 36 PassRefPtr<IDBCursorWithValue> IDBCursorWithValue::create(PassRefPtr<IDBCursorBackendInterface> backend, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) 38 return adoptRef(new IDBCursorWithValue(backend, request, source, transaction)); 41 IDBCursorWithValue::IDBCursorWithValue(PassRefPtr<IDBCursorBackendInterface> backend, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) 42 : IDBCursor(backend, request, source, transaction)
|
/bionic/libc/bionic/ |
ioctl.c | 32 int ioctl(int fd, int request, ...) 37 va_start(ap, request); 41 return __ioctl(fd, request, arg);
|
ptrace.c | 31 extern long __ptrace(int request, pid_t pid, void *addr, void *data); 33 long ptrace(int request, pid_t pid, void * addr, void * data) 35 switch (request) { 43 ret = __ptrace(request, pid, addr, &word); 53 return __ptrace(request, pid, addr, data);
|
/external/apache-http/src/org/apache/http/impl/client/ |
RoutedRequest.java | 38 * A request with the route along which it should be sent. 50 protected final RequestWrapper request; field in class:RoutedRequest 54 * Creates a new routed request. 56 * @param req the request 61 this.request = req; 66 return request;
|
/external/webkit/Source/WebCore/loader/ |
PingLoader.cpp | 55 ResourceRequest request(url); 56 request.setTargetType(ResourceRequest::TargetIsImage); 57 request.setHTTPHeaderField("Cache-Control", "max-age=0"); 58 if (!SecurityOrigin::shouldHideReferrer(request.url(), frame->loader()->outgoingReferrer())) 59 request.setHTTPReferrer(frame->loader()->outgoingReferrer()); 60 frame->loader()->addExtraFieldsToSubresourceRequest(request); 61 OwnPtr<PingLoader> pingLoader = adoptPtr(new PingLoader(frame, request)); 71 ResourceRequest request(pingURL); 72 request.setTargetType(ResourceRequest::TargetIsSubresource); 73 request.setHTTPMethod("POST") [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
RequestDate.java | 42 * A request interceptor that adds a Date header. 59 public void process(final HttpRequest request, final HttpContext context) 61 if (request == null) { 63 ("HTTP request may not be null."); 65 if ((request instanceof HttpEntityEnclosingRequest) && 66 !request.containsHeader(HTTP.DATE_HEADER)) { 68 request.setHeader(HTTP.DATE_HEADER, httpdate);
|
RequestUserAgent.java | 42 * A request interceptor that adds a User-Agent header. 56 public void process(final HttpRequest request, final HttpContext context) 58 if (request == null) { 59 throw new IllegalArgumentException("HTTP request may not be null"); 61 if (!request.containsHeader(HTTP.USER_AGENT)) { 62 String useragent = HttpProtocolParams.getUserAgent(request.getParams()); 64 request.addHeader(HTTP.USER_AGENT, useragent);
|
/external/webkit/Source/WebCore/loader/win/ |
FrameLoaderWin.cpp | 38 void FrameLoader::urlSelected(const FrameLoadRequest& request, Event* /*triggering Event*/) 42 frameWin->client()->openURL(request.resourceRequest().url().string(), request.lockHistory()); 45 void FrameLoader::submitForm(const FrameLoadRequest& request, Event*) 47 const ResourceRequest& resourceRequest = request.resourceRequest();
|