Searched refs:response (Results 1 - 25 of 1367) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DContentSecurityPolicyResponseHeaders.cpp33 ContentSecurityPolicyResponseHeaders::ContentSecurityPolicyResponseHeaders(const ResourceResponse& response) argument
34 : m_contentSecurityPolicy(response.httpHeaderField("Content-Security-Policy"))
35 , m_contentSecurityPolicyReportOnly(response.httpHeaderField("Content-Security-Policy-Report-Only"))
36 , m_xWebKitCSP(response.httpHeaderField("X-WebKit-CSP"))
37 , m_xWebKitCSPReportOnly(response.httpHeaderField("X-WebKit-CSP-Report-Only"))
/external/chromium_org/net/server/
H A Dhttp_server_response_info_unittest.cc12 HttpServerResponseInfo response; local
13 ASSERT_EQ(HTTP_OK, response.status_code());
14 ASSERT_EQ("HTTP/1.1 200 OK\r\n\r\n", response.Serialize());
18 HttpServerResponseInfo response; local
19 response.AddHeader("A", "1");
20 response.AddHeader("A", "2");
21 ASSERT_EQ("HTTP/1.1 200 OK\r\nA:1\r\nA:2\r\n\r\n", response.Serialize());
25 HttpServerResponseInfo response; local
26 ASSERT_EQ(std::string(), response.body());
27 response
35 HttpServerResponseInfo response = HttpServerResponseInfo::CreateFor404(); local
43 HttpServerResponseInfo response = local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCStatsCallback.idl26 void handleEvent(RTCStatsResponse response);
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dfile_browser_private_custom_bindings.js20 function(name, request, response) {
22 if (response && !response.error)
23 fs = GetFileSystem(response.name, response.root_url);
30 function(name, request, response) {
31 if (response && !response.error && response.entries) {
32 response
[all...]
H A Dtab_capture_custom_bindings.js12 apiFunctions.setCustomCallback('capture', function(name, request, response) {
13 if (response && request.callback) {
16 if (response.audioConstraints)
17 options.audio = response.audioConstraints;
18 if (response.videoConstraints)
19 options.video = response.videoConstraints;
H A Dfile_system_provider_custom_bindings.js25 function(name, request, response) {
28 if (request.callback && response) {
29 fileSystemId = response[0];
31 if (response[1]) {
33 domError = GetDOMError(response[1].name, response[1].message);
34 response.length = 1;
/external/chromium_org/net/test/embedded_test_server/
H A Dhttp_response_unittest.cc13 BasicHttpResponse response; local
14 response.set_code(HTTP_OK);
15 response.set_content("Sample content - Hello world!");
16 response.set_content_type("text/plain");
17 response.AddCustomHeader("Simple-Header", "Simple value.");
27 EXPECT_EQ(kExpectedResponseString, response.ToResponseString());
/external/apache-http/src/org/apache/http/impl/client/
H A DTunnelRefusedException.java41 private final HttpResponse response; field in class:TunnelRefusedException
43 public TunnelRefusedException(final String message, final HttpResponse response) { argument
45 this.response = response;
49 return this.response;
H A DDefaultProxyAuthenticationHandler.java53 final HttpResponse response,
55 if (response == null) {
56 throw new IllegalArgumentException("HTTP response may not be null");
58 int status = response.getStatusLine().getStatusCode();
63 final HttpResponse response,
65 if (response == null) {
66 throw new IllegalArgumentException("HTTP response may not be null");
68 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
52 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
62 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DDefaultTargetAuthenticationHandler.java53 final HttpResponse response,
55 if (response == null) {
56 throw new IllegalArgumentException("HTTP response may not be null");
58 int status = response.getStatusLine().getStatusCode();
63 final HttpResponse response,
65 if (response == null) {
66 throw new IllegalArgumentException("HTTP response may not be null");
68 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
52 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
62 getChallenges( final HttpResponse response, final HttpContext context) argument
/external/chromium_org/content/renderer/media/
H A Dtest_response_generator.cc34 WebURLResponse response(gurl_);
35 response.setHTTPStatusCode(200);
37 response.setHTTPHeaderField(
40 response.setExpectedContentLength(content_length_);
41 return response;
53 WebURLResponse response(gurl_);
54 response.setHTTPStatusCode(206);
57 response.setHTTPHeaderField(WebString::fromUTF8("Accept-Ranges"),
69 response.setHTTPHeaderField(WebString::fromUTF8("Content-Range"),
74 response
[all...]
/external/chromium_org/remoting/host/setup/
H A Dme2me_native_messaging_host.cc85 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue());
87 // If the client supplies an ID, it will expect it in the response. This
91 response->Set("id", id->DeepCopy());
100 response->SetString("type", type + "Response");
104 success = ProcessHello(*message, response.Pass());
106 success = ProcessClearPairedClients(*message, response.Pass());
108 success = ProcessDeletePairedClient(*message, response.Pass());
110 success = ProcessGetHostName(*message, response.Pass());
112 success = ProcessGetPinHash(*message, response.Pass());
114 success = ProcessGenerateKeyPair(*message, response
141 ProcessHello( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
155 ProcessClearPairedClients( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
170 ProcessDeletePairedClient( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
192 ProcessGetHostName( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
202 ProcessGetPinHash( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
222 ProcessGenerateKeyPair( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
234 ProcessUpdateDaemonConfig( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
251 ProcessGetDaemonConfig( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
262 ProcessGetPairedClients( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
278 ProcessGetUsageStatsConsent( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
289 ProcessStartDaemon( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
312 ProcessStopDaemon( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
323 ProcessGetDaemonState( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
359 ProcessGetHostClientId( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
370 ProcessGetCredentialsFromAuthCode( const base::DictionaryValue& message, scoped_ptr<base::DictionaryValue> response) argument
395 SendConfigResponse( scoped_ptr<base::DictionaryValue> response, scoped_ptr<base::DictionaryValue> config) argument
408 SendPairedClientsResponse( scoped_ptr<base::DictionaryValue> response, scoped_ptr<base::ListValue> pairings) argument
417 SendUsageStatsConsentResponse( scoped_ptr<base::DictionaryValue> response, const DaemonController::UsageStatsConsent& consent) argument
428 SendAsyncResult( scoped_ptr<base::DictionaryValue> response, DaemonController::AsyncResult result) argument
450 SendBooleanResult( scoped_ptr<base::DictionaryValue> response, bool result) argument
458 SendCredentialsResponse( scoped_ptr<base::DictionaryValue> response, const std::string& user_email, const std::string& refresh_token) argument
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-references.js57 var response = safeEval(dcp.processDebugJSONRequest(request));
59 assertTrue(response.success, request + ' -> ' + response.message);
60 assertTrue(response.body instanceof Array);
62 assertEquals(count, response.body.length);
64 assertTrue(response.body.length > 0);
67 assertFalse(response.success, request + ' -> ' + response.message);
69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
88 var response
[all...]
H A Ddebug-scripts-request.js51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
78 var response = safeEval(dcp.processDebugJSONRequest(request));
79 assertTrue(response.success);
83 assertTrue(response.body.length >= 1);
85 var script = response.body[0];
88 var response = safeEval(dcp.processDebugJSONRequest(request));
89 assertTrue(response.success);
90 assertEquals(1, response
[all...]
H A Ddebug-backtrace.js62 ParsedResponse.prototype.response = function() {
91 var response;
104 response = new ParsedResponse(resp);
105 backtrace = response.body();
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
123 assertFalse(response
[all...]
/external/v8/test/mjsunit/
H A Ddebug-references.js57 var response = safeEval(dcp.processDebugJSONRequest(request));
59 assertTrue(response.success, request + ' -> ' + response.message);
60 assertTrue(response.body instanceof Array);
62 assertEquals(count, response.body.length);
64 assertTrue(response.body.length > 0);
67 assertFalse(response.success, request + ' -> ' + response.message);
69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
88 var response
[all...]
H A Ddebug-scripts-request.js51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
78 var response = safeEval(dcp.processDebugJSONRequest(request));
79 assertTrue(response.success);
82 assertEquals(2, response.body.length);
83 var script = response.body[0];
86 var response = safeEval(dcp.processDebugJSONRequest(request));
87 assertTrue(response.success);
88 assertEquals(1, response
[all...]
H A Ddebug-backtrace.js62 ParsedResponse.prototype.response = function() {
91 var response;
104 response = new ParsedResponse(resp);
105 backtrace = response.body();
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
123 assertFalse(response
[all...]
/external/chromium_org/chrome/browser/resources/apps_debugger/js/
H A Dpack_item_overlay.js55 * @param {string} response Message returned by packing api.
58 onCommit_: function(response) {
59 if (response.status == 'SUCCESS')
60 PackItemOverlay.showSuccessMessage(response);
61 else if (response.status == 'ERROR')
62 PackItemOverlay.showError(response);
64 PackItemOverlay.showWarningMessage(response);
84 PackItemOverlay.showSuccessMessage = function(response) {
87 response.message,
100 PackItemOverlay.showError = function(response) {
[all...]
/external/apache-http/src/org/apache/http/protocol/
H A DResponseServer.java42 * A response interceptor that adds a Server header.
57 public void process(final HttpResponse response, final HttpContext context) argument
59 if (response == null) {
62 if (!response.containsHeader(HTTP.SERVER_HEADER)) {
63 String s = (String) response.getParams().getParameter(
66 response.addHeader(HTTP.SERVER_HEADER, s);
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
61 public void process(final HttpResponse response, final HttpContext context) argument
63 if (response == null) {
66 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
69 if (response.containsHeader(HTTP.CONTENT_LEN)) {
72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
73 HttpEntity entity = response.getEntity();
77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
82 if (entity.getContentType() != null && !response
[all...]
H A DHttpRequestExecutor.java49 * Takes care of request preprocessing and response postprocessing
68 * Decide whether a response comes with an entity.
70 * Unknown methods and response codes are supposed to
74 * methods and response codes not specified in RFC 2616.
77 * @param response the response, to obtain the status code
80 final HttpResponse response) {
85 int status = response.getStatusLine().getStatusCode();
93 * Synchronously send a request and obtain the response.
98 * @return the response t
79 canResponseHaveBody(final HttpRequest request, final HttpResponse response) argument
305 postProcess( final HttpResponse response, final HttpProcessor processor, final HttpContext context) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
H A DMacro.java33 private String response; field in class:Macro
53 return response;
56 public void setResponse(String response) { argument
57 this.response = response;
/external/chromium/chrome/browser/metrics/
H A Dmetrics_response_unittest.cc18 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
19 "</config></response>";
22 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
30 "</config></response>";
33 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
40 "</config></response>";
81 MetricsResponse response(rcase.response_xml);
82 EXPECT_TRUE(response.valid());
83 EXPECT_EQ(rcase.collectors, response.collectors()) <<
85 EXPECT_EQ(rcase.events, response
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapp_engine_handler.py25 response = Handler(request).Get()
31 self.response.out.write(s.getvalue())
32 self.response.headers['Content-Type'] = 'text/plain'
33 self.response.status = 200
35 self.response.out.write(response.content.ToString())
36 self.response.headers.update(response.headers)
37 self.response.status = response
[all...]

Completed in 2496 milliseconds

1234567891011>>