/external/chromium_org/content/browser/ |
histogram_synchronizer.cc | 37 // The "RequestContext" structure describes an individual request received from 84 RequestContext* request = new RequestContext(callback, sequence_number); local 85 outstanding_requests_.Get()[sequence_number] = request; 98 RequestContext* request = it->second; 99 DCHECK_EQ(sequence_number, request->sequence_number_); 100 return request; 114 RequestContext* request = it->second; 115 DCHECK_EQ(sequence_number, request->sequence_number_); 116 bool received_process_group_count = request->received_process_group_count_; 117 int unresponsive_processes = request->processes_pending_ 259 RequestContext* request = RequestContext::GetRequestContext(sequence_number); local 275 RequestContext* request = RequestContext::GetRequestContext(sequence_number); local [all...] |
/external/chromium_org/google_apis/drive/ |
request_sender.h | 46 // requests issued through the request sender if the value is not empty. 63 // Starts a request implementing the AuthenticatedRequestInterface 64 // interface, and makes the request retry upon authentication failures by 65 // calling back to RetryRequest. The |request| object is owned by this 69 // Returns a closure to cancel the request. The closure cancels the request 71 base::Closure StartRequestWithRetry(AuthenticatedRequestInterface* request); 73 // Notifies to this RequestSender that |request| has finished. 75 void RequestFinished(AuthenticatedRequestInterface* request); 80 const base::WeakPtr<AuthenticatedRequestInterface>& request, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLResourcePreloader.cpp | 57 FetchRequest request(ResourceRequest(completeURL(document)), initiatorInfo); 60 request.setCrossOriginAccessControl(document->securityOrigin(), m_allowCredentials); 61 return request; 75 FetchRequest request = preload->resourceRequest(m_document); local 77 m_document->fetcher()->preload(preload->resourceType(), request, preload->charset());
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stunrequest.h | 42 // response or determine that the request has timed out. 48 // Starts sending the given request (perhaps after a delay). 49 void Send(StunRequest* request); 50 void SendDelayed(StunRequest* request, int delay); 52 // Removes a stun request that was added previously. This will happen 53 // automatically when a request succeeds, fails, or times out. 54 void Remove(StunRequest* request); 78 // Represents an individual request to be sent. The STUN message can either be 83 StunRequest(StunMessage* request); 89 // The manager handling this request (if it has been scheduled for sending) [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
file_system_url_request_job_factory.cc | 27 net::URLRequest* request, 51 net::URLRequest* request, net::NetworkDelegate* network_delegate) const { 52 const std::string path = request->url().path(); 59 request, network_delegate, storage_domain_, file_system_context_); 62 request, network_delegate, storage_domain_, file_system_context_);
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockHttpStack.java | 20 import com.android.volley.Request; 55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) 57 mLastUrl = request.getUrl(); 59 if (request.getHeaders() != null) { 60 mLastHeaders.putAll(request.getHeaders()); 66 mLastPostBody = request.getBody();
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
background.js | 26 * @param {Object} request Request object 32 function handleWebPageRequest(toleratesMultipleResponses, request, sender, 34 switch (request.type) { 36 return handleEnrollRequest(ENROLL_HELPER_FACTORY, sender, request, 40 return handleSignRequest(SIGN_HELPER_FACTORY, sender, request, 52 function messageHandler(toleratesMultipleResponses, request, sender, 54 console.log(UTIL_fmt('onMessageExternal listener: ' + request.type)); 55 console.log(UTIL_fmt('request')); 56 console.log(request); [all...] |
/external/chromium_org/content/browser/loader/ |
async_resource_handler.cc | 79 net::URLRequest* request, 81 : ResourceHandler(request), 82 ResourceMessageDelegate(request), 96 rdh_->FinishedWithResourcesForRequest(request()); 110 if (!request()->status().is_success()) { 111 DVLOG(1) << "OnFollowRedirect for invalid request"; 149 new_url, request(), info->GetContext(), response); 152 DevToolsNetLogObserver::PopulateResponseInfo(request(), response); 153 response->head.encoded_data_length = request()->GetTotalReceivedBytes(); 155 response->head.request_start = request()->creation_time() [all...] |
/external/chromium_org/content/browser/media/ |
webrtc_identity_store.cc | 71 // The class represents an identity request internal to WebRTCIdentityStore. 72 // It has a one-to-many mapping to the external version of the request, 74 // combined into one internal request. 75 // It's deleted automatically when the request is completed. 101 // This method deletes "this" and no one should access it after the request 122 // The class represents an identity request which calls back to the external 123 // client when the request completes. 136 // Cancel the request. Does nothing if the request finished or was already 144 WebRTCIdentityRequest* request = request_ local 188 WebRTCIdentityRequest* request = local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
MyTransmitter.h | 217 AString request; local 218 request.append("ANNOUNCE "); 219 request.append(mStreamURL); 220 request.append(" RTSP/1.0\r\n"); 222 addAuthentication(&request, "ANNOUNCE", mStreamURL.c_str()); 224 request.append("Content-Type: application/sdp\r\n"); 225 request.append("Content-Length: "); 226 request.append(sdp.size()); 227 request.append("\r\n"); 229 request.append("\r\n") 403 AString request; local 526 AString request; local 577 AString request; local 693 AString request; local 744 AString request; local [all...] |
/external/chromium_org/ui/file_manager/video_player/js/ |
test_util.js | 80 onMessage.addListener(function(request, sender, sendResponse) { 87 if (!request.func || request.func[request.func.length - 1] == '_') { 88 request.func = ''; 91 var args = request.args.slice(); // shallow copy 92 if (request.file) { 93 if (!appWindowsForTest[request.file]) { 94 console.error('Specified window not found: ' + request.file); 98 args.unshift(appWindowsForTest[request.file].contentWindow) [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClient.java | 97 public void process(HttpRequest request, HttpContext context) { 202 * Modifies a request to indicate to the server that we would like a 204 * @param request the request to modify 207 public static void modifyRequestToAcceptGzipResponse(HttpRequest request) { 208 request.addHeader("Accept-Encoding", "gzip"); 251 public HttpResponse execute(HttpUriRequest request) throws IOException { 252 return delegate.execute(request); 255 public HttpResponse execute(HttpUriRequest request, HttpContext context) 257 return delegate.execute(request, context) [all...] |
/packages/services/Mms/src/com/android/mms/service/http/ |
NetworkAwareHttpClient.java | 100 public void process(HttpRequest request, HttpContext context) { 201 * Modifies a request to indicate to the server that we would like a 203 * @param request the request to modify 206 public static void modifyRequestToAcceptGzipResponse(HttpRequest request) { 207 request.addHeader("Accept-Encoding", "gzip"); 253 public HttpResponse execute(HttpUriRequest request) throws IOException { 254 return delegate.execute(request); 258 public HttpResponse execute(HttpUriRequest request, HttpContext context) 260 return delegate.execute(request, context) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
CreateWindow.cpp | 47 static LocalFrame* createWindow(LocalFrame& openerFrame, LocalFrame& lookupFrame, const FrameLoadRequest& request, const WindowFeatures& features, NavigationPolicy policy, ShouldSendReferrer shouldSendReferrer, bool& created) 49 ASSERT(!features.dialog || request.frameName().isEmpty()); 51 if (!request.frameName().isEmpty() && request.frameName() != "_blank" && policy == NavigationPolicyIgnore) { 52 if (LocalFrame* frame = lookupFrame.loader().findFrameForNavigation(request.frameName(), openerFrame.document())) { 53 if (request.frameName() != "_self") 63 openerFrame.document()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked opening '" + request.resourceRequest().url().elidedString() + "' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set."); 78 Page* page = oldPage->chrome().client().createWindow(&openerFrame, request, features, policy, shouldSendReferrer); 86 if (request.frameName() != "_blank" [all...] |
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
OkApacheClient.java | 102 @Override public HttpResponse execute(HttpUriRequest request) throws IOException { 103 return execute(null, request, (HttpContext) null); 106 @Override public HttpResponse execute(HttpUriRequest request, HttpContext context) 108 return execute(null, request, context); 111 @Override public HttpResponse execute(HttpHost host, HttpRequest request) throws IOException { 112 return execute(host, request, (HttpContext) null); 115 @Override public HttpResponse execute(HttpHost host, HttpRequest request, HttpContext context) 117 // Prepare the request headers. 118 RequestLine requestLine = request.getRequestLine(); 122 for (Header header : request.getAllHeaders()) [all...] |
/frameworks/base/location/java/android/location/ |
LocationRequest.java | 31 * <p>LocationRequest objects are used to request a quality of service 35 * it should create a location request with {@link #setQuality} set to 43 * {@link #setQuality} with {@link #POWER_NONE}. With this request your 59 * to {@link #setFastestInterval}. This style of request is appropriate for 65 * request when entering the background 67 * at least swap the request to a larger interval and lower quality. 91 * Used with {@link #setQuality} to request the most accurate locations available. 98 * Used with {@link #setQuality} to request "block" level accuracy. 107 * Used with {@link #setQuality} to request "city" level accuracy. 118 * <p>This location request will not trigger any active location requests 166 LocationRequest request = new LocationRequest(); local 186 LocationRequest request = new LocationRequest() local 221 LocationRequest request = new LocationRequest() local [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 27 import com.android.volley.Request; 83 public NetworkResponse performRequest(Request<?> request) throws VolleyError { 92 addCacheHeaders(headers, request.getCacheEntry()); 93 httpResponse = mHttpStack.performRequest(request, headers); 101 request.getCacheEntry() == null ? null : request.getCacheEntry().data, 110 // no-content request. 114 // if the request is slow, log it. 116 logSlowRequests(requestLifetime, request, responseContents, statusLine) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
EntityEnclosingRequestWrapper.java | 42 * be used to change properties of the current request without 45 * This class is also capable of resetting the request headers to 46 * the state of the original request. 59 public EntityEnclosingRequestWrapper(final HttpEntityEnclosingRequest request) 61 super(request); 62 this.entity = request.getEntity();
|
/external/chromium_org/android_webview/browser/net/ |
aw_url_request_job_factory.cc | 42 URLRequest* request, 45 scheme, request, network_delegate); 57 request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
identity_mint_queue.h | 21 // The queue calls StartMintToken on each Request when it reaches the 24 // The queue does not own Requests. Request pointers must be valid 37 class Request { 39 virtual ~Request() {} 43 // Adds a request to the queue specified by the token key. 46 IdentityMintRequestQueue::Request* request); 47 // Removes a request from the queue specified by the token key. 50 IdentityMintRequestQueue::Request* request); [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
gcd_api_flow_impl.h | 29 virtual void Start(scoped_ptr<Request> request) OVERRIDE; 35 virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, 38 virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, 45 scoped_ptr<OAuth2TokenService::Request> oauth_request_; 49 scoped_ptr<Request> request_;
|
/external/chromium_org/chrome/browser/net/ |
chrome_fraudulent_certificate_reporter.h | 40 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 41 virtual void OnReadCompleted(net::URLRequest* request, 49 void RequestComplete(net::URLRequest* request);
|
/external/chromium_org/content/browser/net/ |
view_http_cache_job_factory.cc | 27 ViewHttpCacheJob(net::URLRequest* request, 29 : net::URLRequestJob(request, network_delegate), 58 int Start(const net::URLRequest& request, const base::Closure& callback); 114 DCHECK(request()); 116 if (!request()) 119 int rv = core_->Start(*request(), callback_); 130 int ViewHttpCacheJob::Core::Start(const net::URLRequest& request, 137 request.url().spec().substr(strlen(kChromeUINetworkViewCacheURL)); 141 rv = cache_helper_.GetContentsHTML(request.context(), 145 rv = cache_helper_.GetEntryInfoHTML(cache_key, request.context() [all...] |
/external/chromium_org/content/public/browser/ |
resource_request_info.h | 28 const net::URLRequest* request); 34 net::URLRequest* request, 44 // request being allocated by the ResourceDispatcherHost, but works for all 47 const net::URLRequest* request, 57 // The IPC route identifier for this request (this identifies the RenderView 58 // or like-thing in the renderer that the request gets routed to). 61 // The pid of the originating process, if the request is sent on behalf of a 65 // Unique identifier (within the scope of the child process) for this request. 80 // Routing ID of parent frame of frame that sent this resource request. 87 // Returns the process type that initiated this request [all...] |
/external/chromium_org/mojo/public/cpp/bindings/ |
interface_request.h | 27 // Returns true if the request has yet to be completed. 44 InterfaceRequest<Interface> request; local 45 request.Bind(handle.Pass()); 46 return request.Pass(); 49 // Used to construct a request that synchronously binds an InterfacePtr<..>, 50 // making it immediately usable upon return. The resulting request object may
|