HomeSort by relevance Sort by last modified time
    Searched refs:interceptor (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/chromium_org/components/component_updater/test/
component_updater_ping_manager_unittest.cc 59 URLRequestPostInterceptor* interceptor = local
61 EXPECT_TRUE(interceptor);
73 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
75 interceptor->GetRequests()[0].find(
78 << interceptor->GetRequestsAsString();
79 interceptor->Reset();
91 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
93 interceptor->GetRequests()[0].find
    [all...]
url_request_post_interceptor.cc 163 void OnCreateInterceptor(URLRequestPostInterceptor* interceptor) {
165 DCHECK(interceptors_.find(interceptor->GetUrl()) == interceptors_.end());
167 interceptors_.insert(std::make_pair(interceptor->GetUrl(), interceptor));
193 // There is an interceptor hooked up for this url. Read the request body,
197 URLRequestPostInterceptor* interceptor(it->second);
207 base::AutoLock auto_lock(interceptor->interceptor_lock_);
208 interceptor->requests_.push_back(request_body);
209 if (interceptor->expectations_.empty())
212 interceptor->expectations_.front())
    [all...]
  /external/chromium_org/chrome/browser/devtools/
devtools_network_controller.cc 43 DevToolsNetworkInterceptor* interceptor = interceptors_.get(client_id);
44 DCHECK(interceptor);
45 if (!interceptor)
48 return interceptor->GetWeakPtr();
70 DevToolsNetworkInterceptor* interceptor = interceptors_.get(client_id); local
71 if (!interceptor) {
75 Interceptor new_interceptor = Interceptor(new DevToolsNetworkInterceptor());
82 interceptor->UpdateConditions(online_conditions.Pass());
85 interceptor->UpdateConditions(conditions.Pass())
    [all...]
  /external/chromium_org/gin/
object_template_builder.cc 7 #include "gin/interceptor.h"
53 NamedPropertyInterceptor* interceptor = local
55 if (!interceptor)
59 info.GetReturnValue().Set(interceptor->GetNamedProperty(isolate, name));
66 NamedPropertyInterceptor* interceptor = local
68 if (!interceptor)
72 if (interceptor->SetNamedProperty(isolate, name, value))
79 NamedPropertyInterceptor* interceptor = local
81 if (!interceptor)
85 if (interceptor->GetNamedProperty(isolate, name).IsEmpty()
92 NamedPropertyInterceptor* interceptor = local
103 IndexedPropertyInterceptor* interceptor = local
114 IndexedPropertyInterceptor* interceptor = local
125 IndexedPropertyInterceptor* interceptor = local
    [all...]
per_isolate_data.cc 64 IndexedPropertyInterceptor* interceptor) {
65 indexed_interceptors_[base] = interceptor;
70 NamedPropertyInterceptor* interceptor) {
71 named_interceptors_[base] = interceptor;
76 IndexedPropertyInterceptor* interceptor) {
86 NamedPropertyInterceptor* interceptor) {
per_isolate_data.h 51 // interceptor interfaces to the interceptor interface pointers.
53 IndexedPropertyInterceptor* interceptor);
55 NamedPropertyInterceptor* interceptor);
58 IndexedPropertyInterceptor* interceptor);
60 NamedPropertyInterceptor* interceptor);
  /external/chromium_org/net/url_request/
url_request_intercepting_job_factory.cc 14 scoped_ptr<URLRequestInterceptor> interceptor)
16 interceptor_(interceptor.Pass()) {
url_request_job_manager.h 25 // so no attempt is made to support Interceptor instances being
39 // of a redirect. Returns NULL if no interceptor intervenes.
47 // Returns NULL if no interceptor intervenes.
54 // Register/unregister a request interceptor.
55 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor);
56 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor);
59 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
url_request_job_factory_impl.cc 99 URLRequestInterceptor* interceptor) {
100 DCHECK(!interceptor || !g_interceptor_for_testing);
102 g_interceptor_for_testing = interceptor;
url_request_intercepting_job_factory.h 26 // URLRequest. If the interceptor does not create a job, the URLRequest is
37 scoped_ptr<URLRequestInterceptor> interceptor);
url_request_job_factory_impl.h 46 // Sets a global URLRequestInterceptor for testing purposes. The interceptor
50 // If an interceptor is set, the old interceptor must be cleared before
52 static void SetInterceptorForTesting(URLRequestInterceptor* interceptor);
url_request_filter.h 28 // interceptor.Pass());
31 // interceptor.Pass());
49 scoped_ptr<URLRequestInterceptor> interceptor);
58 scoped_ptr<URLRequestInterceptor> interceptor);
url_request_job_manager.cc 171 URLRequest::Interceptor* interceptor) {
176 DCHECK(std::find(interceptors_.begin(), interceptors_.end(), interceptor) ==
178 interceptors_.push_back(interceptor);
182 URLRequest::Interceptor* interceptor) {
188 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
url_request_filter.cc 57 scoped_ptr<URLRequestInterceptor> interceptor) {
60 interceptor.release();
99 scoped_ptr<URLRequestInterceptor> interceptor) {
103 url_interceptor_map_[url.spec()] = interceptor.release();
  /external/chromium_org/sandbox/win/src/
resolver_64.cc 56 const void* interceptor) {
61 thunk->interceptor_function = reinterpret_cast<ULONG_PTR>(interceptor);
resolver.h 71 // and the interceptor into the member variables.
91 // interceptor is the function to be called instead of original_function.
93 const void* original_function, const void* interceptor);
97 // Holds the resolved interception interceptor.
resolver_32.cc 25 // ret // Jump to interceptor
65 const void* interceptor) {
74 thunk->interceptor_function = reinterpret_cast<ULONG>(interceptor);
sidestep_resolver.cc 22 const void* interceptor; // Real interceptor. member in struct:__anon15259::SmartThunk
77 // the thunk to use a chained interceptor. It uses the fact that
97 thunk->interceptor = interceptor_entry_point;
100 &thunk->interceptor);
106 // to our internal smart interceptor.
114 // Fix the internal thunk to pass the whole buffer to the interceptor.
129 // This code must basically either call the intended interceptor or skip the
134 // to our SmartThunk. When we call the interceptor we have to replace this
136 // structure); on the other hand, when we skip the interceptor we have to remov
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
BasicHttpProcessor.java 149 * @param interceptor the interceptor to add
152 void addInterceptor(final HttpRequestInterceptor interceptor) {
153 addRequestInterceptor(interceptor);
157 void addInterceptor(final HttpRequestInterceptor interceptor,
159 addRequestInterceptor(interceptor, index);
202 * @param interceptor the interceptor to add
205 void addInterceptor(final HttpResponseInterceptor interceptor) {
206 addResponseInterceptor(interceptor);
293 HttpRequestInterceptor interceptor = local
307 HttpResponseInterceptor interceptor = local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java 89 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local
91 mInterceptors.add(interceptor);
93 return interceptor;
115 final BroadcastInterceptor interceptor = i.next(); local
116 if (receiver.equals(interceptor.mReceiver)) {
128 final BroadcastInterceptor interceptor = i.next(); local
129 if (interceptor.dispatchBroadcast(intent)) {
  /external/mockito/src/org/mockito/internal/creation/jmock/
ClassImposterizer.java 51 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Class> ancillaryTypes) {
52 return imposterise(interceptor, mockedType, ancillaryTypes.toArray(new Class[ancillaryTypes.size()]));
55 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) {
61 proxyInstance = createProxy(proxyClass, interceptor);
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) {
135 proxy.setCallbacks(new Callback[] {interceptor, SerializableNoOp.SERIALIZABLE_INSTANCE });
  /external/chromium_org/chrome/browser/extensions/api/management/
management_browsertest.cc 289 // Note: This interceptor gets requests on the IO thread.
290 net::LocalHostTestURLRequestInterceptor interceptor(
296 interceptor.SetResponseIgnoreQuery(
299 interceptor.SetResponseIgnoreQuery(GURL("http://localhost/autoupdate/v2.crx"),
340 interceptor.SetResponseIgnoreQuery(
343 interceptor.SetResponseIgnoreQuery(GURL("http://localhost/autoupdate/v3.crx"),
378 // Note: This interceptor gets requests on the IO thread.
379 net::LocalHostTestURLRequestInterceptor interceptor(
385 interceptor.SetResponseIgnoreQuery(
388 interceptor.SetResponseIgnoreQuery(GURL("http://localhost/autoupdate/v2.crx")
    [all...]
  /external/chromium_org/mojo/spy/
spy.cc 57 mojo::ScopedMessagePipeHandle interceptor,
61 pipes.push_back(interceptor.get());
112 mojo::ScopedMessagePipeHandle interceptor; local
113 CreateMessagePipe(NULL, &faux_client, &interceptor);
120 base::Passed(&interceptor),
225 class SpyInterceptor : public mojo::ApplicationManager::Interceptor {
246 mojo::ScopedMessagePipeHandle interceptor; variable
247 CreateMessagePipe(NULL, &faux_client, &interceptor);
256 base::Passed(&real_handle), base::Passed(&interceptor),
334 // TODO(cpu): Do not leak the interceptor. Lifetime between th
    [all...]
  /external/chromium_org/chrome/browser/extensions/
extension_disabled_ui_browsertest.cc 211 // Note: This interceptor gets requests on the IO thread.
212 net::LocalHostTestURLRequestInterceptor interceptor(
217 interceptor.SetResponseIgnoreQuery(
221 interceptor.SetResponseIgnoreQuery(
250 // Note: This interceptor gets requests on the IO thread.
251 net::LocalHostTestURLRequestInterceptor interceptor(
256 interceptor.SetResponseIgnoreQuery(
260 interceptor.SetResponseIgnoreQuery(
  /external/chromium_org/chrome/browser/policy/cloud/
test_request_interceptor.cc 152 scoped_ptr<net::URLRequestInterceptor> interceptor) {
154 "http", hostname, interceptor.Pass());
228 scoped_ptr<net::URLRequestInterceptor> interceptor(delegate_);
231 base::Passed(&interceptor)));

Completed in 633 milliseconds

1 2 3 4