/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
RequestMatcher.java | 5 public interface RequestMatcher {
|
FakeHttpLayer.java | 66 public void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { 67 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, response)); 73 * @param requestMatcher Request matcher 76 public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { 77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses)); 143 public boolean hasRequestMatchingRule(RequestMatcher rule) { 187 private RequestMatcher requestMatcher; [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/catifier/ |
event_page.js | 9 var RequestMatcher = chrome.declarativeWebRequest.RequestMatcher; 23 new RequestMatcher({ 28 new RequestMatcher({ 42 new RequestMatcher({url: {hostContains: '.google.'}})
|
/external/chromium_org/chrome/common/extensions/docs/templates/intros/ |
declarativeWebRequest.html | 60 <code>RequestMatcher</code>. The <code>RequestMatcher</code> matches network 62 <code>RequestMatcher</code> would match a network request when the user enters 67 var matcher = new chrome.declarativeWebRequest.RequestMatcher({ 75 <code>RequestMatcher</code> due to the scheme. Also all requests for an embedded 91 new chrome.declarativeWebRequest.RequestMatcher({ 107 new chrome.declarativeWebRequest.RequestMatcher({ 109 new chrome.declarativeWebRequest.RequestMatcher({ 202 <code>new chrome.declarativeWebRequest.RequestMatcher({contentType: ["image/jpeg"]})</code> 224 new chrome.declarativeWebRequest.RequestMatcher({ [all...] |
events.html | 190 var match = new chrome.declarativeWebRequest.RequestMatcher({ 194 var match = new chrome.declarativeWebRequest.RequestMatcher({ 202 var condition1 = new chrome.declarativeWebRequest.RequestMatcher({ 204 var condition2 = new chrome.declarativeWebRequest.RequestMatcher({
|
/external/chromium_org/chrome/browser/component_updater/test/ |
url_request_post_interceptor.h | 35 class RequestMatcher { 38 virtual ~RequestMatcher() {} 49 bool ExpectRequest(class RequestMatcher* request_matcher); 50 bool ExpectRequest(class RequestMatcher* request_matcher, 73 typedef std::pair<const RequestMatcher*, std::string> Expectation;
|
url_request_post_interceptor.cc | 73 class RequestMatcher* request_matcher) { 79 class RequestMatcher* request_matcher,
|
component_updater_service_unittest.cc | 152 class PartialMatch : public URLRequestPostInterceptor::RequestMatcher { [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
webrequest_condition_unittest.cc | 39 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 53 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 68 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 116 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 161 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 175 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", " 193 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", " 229 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 237 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 298 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n [all...] |
webrequest_constants.cc | 86 const char kRequestMatcherType[] = "declarativeWebRequest.RequestMatcher";
|
webrequest_rules_registry_unittest.cc | 197 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n"; 497 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 515 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" 678 " \"instanceType\": \"declarativeWebRequest.RequestMatcher\", \n" [all...] |
webrequest_condition.cc | 33 "declarativeWebRequest.RequestMatcher";
|
webrequest_condition_attribute_unittest.cc | 387 // containsHeaders property of a RequestMatcher, otherwise as
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
declarative_webrequest_custom_bindings.js | 39 declarativeWebRequest.RequestMatcher = function(parameters) { 40 setupInstance(this, parameters, 'RequestMatcher');
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
Robolectric.java | 73 import com.xtremelabs.robolectric.tester.org.apache.http.RequestMatcher; [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/eventPage/basic/ |
background.js | 32 conditions: [new wr.RequestMatcher({url: {hostSuffix: "bing.com"}})],
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DefaultRequestDirectorTest.java | 6 import com.xtremelabs.robolectric.tester.org.apache.http.RequestMatcher; 191 Robolectric.addHttpResponseRule(new RequestMatcher() {
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_apitest.cc | 73 " new chrome.declarativeWebRequest.RequestMatcher({\n"
|
/external/chromium_org/chrome/common/extensions/api/ |
declarative_web_request.json | 64 "id": "RequestMatcher", 135 "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"], 548 "conditions": ["declarativeWebRequest.RequestMatcher"],
|
webview_tag.json | 226 "description": "Interface which provides access to webRequest events on the guest page. See the <a href=\"http://developer.chrome.com/extensions/webRequest.html\">chrome.webRequest</a> extensions API for details on webRequest life cycle and related concepts.<p>To illustrate how usage differs from the extensions webRequest API, consider the following example code which blocks any guest requests for URLs which match <code>*://www.evil.com/*</code>:</p><pre>webview.request.onBeforeRequest.addListener(\r function(details) { return {cancel: true}; },\r {urls: [\"*://www.evil.com/*\"]},\r [\"blocking\"]);</pre><p>Additionally, this interface supports declarative webRequest rules through <code>onRequest</code> and <code>onMessage</code> events. See <a href=\"http://developer.chrome.com/extensions/declarativeWebRequest.html\">declarativeWebRequest</a> for API details.</p>Note that conditions and actions for declarative webview webRequests should be instantiated from their <code>chrome.webViewRequest.*</code> counterparts. The following example code declaratively blocks all requests to <code>\"example.com\"</code> on the webview <code>myWebview</code>:</p><pre>var rule = {\r conditions: [\r new chrome.webViewRequest.RequestMatcher({ url: { hostSuffix: 'example.com' } })\r ],\r actions: [ new chrome.webViewRequest.CancelRequest() ]\r};\rmyWebview.request.onRequest.addRules([rule]);</pre>",
|