/external/chromium_org/chrome/browser/devtools/ |
H A D | 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) { 82 interceptor->UpdateConditions(online_conditions.Pass()); 85 interceptor->UpdateConditions(conditions.Pass());
|
/external/chromium_org/components/component_updater/test/ |
H A D | 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 [all...] |
H A D | url_request_post_interceptor.cc | 163 void OnCreateInterceptor(URLRequestPostInterceptor* interceptor) { argument 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 [all...] |
/external/chromium_org/net/url_request/ |
H A D | url_request_intercepting_job_factory.cc | 14 scoped_ptr<URLRequestInterceptor> interceptor) 16 interceptor_(interceptor.Pass()) { 12 URLRequestInterceptingJobFactory( scoped_ptr<URLRequestJobFactory> job_factory, scoped_ptr<URLRequestInterceptor> interceptor) argument
|
H A D | url_request_job_factory_impl.cc | 99 URLRequestInterceptor* interceptor) { 100 DCHECK(!interceptor || !g_interceptor_for_testing); 102 g_interceptor_for_testing = interceptor; 98 SetInterceptorForTesting( URLRequestInterceptor* interceptor) argument
|
H A D | 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(); 54 AddHostnameInterceptor( const std::string& scheme, const std::string& hostname, scoped_ptr<URLRequestInterceptor> interceptor) argument 97 AddUrlInterceptor( const GURL& url, scoped_ptr<URLRequestInterceptor> interceptor) argument
|
H A D | 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); 170 RegisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument 181 UnregisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument
|
H A D | url_request.cc | 144 Interceptor* interceptor) { 145 URLRequest::RegisterRequestInterceptor(interceptor); 149 Interceptor* interceptor) { 150 URLRequest::UnregisterRequestInterceptor(interceptor); 626 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) { argument 627 URLRequestJobManager::GetInstance()->RegisterRequestInterceptor(interceptor); 631 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) { argument 633 interceptor); 143 RegisterRequestInterceptor( Interceptor* interceptor) argument 148 UnregisterRequestInterceptor( Interceptor* interceptor) argument
|
/external/chromium_org/gin/ |
H A D | 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) { 62 SetIndexedPropertyInterceptor( WrappableBase* base, IndexedPropertyInterceptor* interceptor) argument 68 SetNamedPropertyInterceptor( WrappableBase* base, NamedPropertyInterceptor* interceptor) argument 74 ClearIndexedPropertyInterceptor( WrappableBase* base, IndexedPropertyInterceptor* interceptor) argument 84 ClearNamedPropertyInterceptor( WrappableBase* base, NamedPropertyInterceptor* interceptor) argument
|
H A D | 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 92 NamedPropertyInterceptor* interceptor = local 103 IndexedPropertyInterceptor* interceptor = local 114 IndexedPropertyInterceptor* interceptor = local 125 IndexedPropertyInterceptor* interceptor = local [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | interception.h | 82 // interceptor, so the provided InterceptorId is used to keep a table of 83 // intercepted functions so that the interceptor can index that table to get 141 std::string interceptor; // Name of interceptor function. member in struct:sandbox::InterceptionManager::InterceptionData 196 // This method will insert additional interceptions to launch the interceptor 225 // the interceptor is called "TargetXXX", where XXX is the name of the service. 227 // the exported interceptor, following the calling convention of a service call
|
H A D | resolver_32.cc | 25 // ret // Jump to interceptor 65 const void* interceptor) { 74 thunk->interceptor_function = reinterpret_cast<ULONG>(interceptor); 63 SetInternalThunk(void* storage, size_t storage_bytes, const void* original_function, const void* interceptor) argument
|
H A D | resolver_64.cc | 56 const void* interceptor) { 61 thunk->interceptor_function = reinterpret_cast<ULONG_PTR>(interceptor); 54 SetInternalThunk(void* storage, size_t storage_bytes, const void* original_function, const void* interceptor) argument
|
H A D | interception_agent.cc | 166 const char* interceptor = function->function + local 169 if (!IsWithinRange(function, function->record_bytes, interceptor) || 170 !IsWithinRange(dll_info, dll_info->record_bytes, interceptor)) { 178 interceptor,
|
H A D | sidestep_resolver.cc | 22 const void* interceptor; // Real interceptor. member in struct:__anon10634::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 w [all...] |
/external/mockito/src/org/mockito/internal/creation/jmock/ |
H A D | ClassImposterizer.java | 51 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Class> ancillaryTypes) {
argument 52 return imposterise(interceptor, mockedType, ancillaryTypes.toArray(new Class[ancillaryTypes.size()]));
55 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) {
argument 61 proxyInstance = createProxy(proxyClass, interceptor);
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) {
argument 135 proxy.setCallbacks(new Callback[] {interceptor, SerializableNoOp.SERIALIZABLE_INSTANCE });
|
/external/apache-http/src/org/apache/http/protocol/ |
H A D | BasicHttpProcessor.java | 149 * @param interceptor the interceptor to add 152 void addInterceptor(final HttpRequestInterceptor interceptor) { argument 153 addRequestInterceptor(interceptor); 157 void addInterceptor(final HttpRequestInterceptor interceptor, argument 159 addRequestInterceptor(interceptor, index); 202 * @param interceptor the interceptor to add 205 void addInterceptor(final HttpResponseInterceptor interceptor) { argument 206 addResponseInterceptor(interceptor); 209 addInterceptor(final HttpResponseInterceptor interceptor, int index) argument [all...] |
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | 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))); 150 RegisterHttpInterceptor( const std::string& hostname, scoped_ptr<net::URLRequestInterceptor> interceptor) argument
|
/external/chromium_org/mojo/spy/ |
H A D | 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), 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 the 56 Start(mojo::ScopedMessagePipeHandle client, mojo::ScopedMessagePipeHandle interceptor, const GURL& url) argument
|
/external/chromium_org/mojo/application_manager/ |
H A D | application_manager.cc | 280 void ApplicationManager::SetInterceptor(Interceptor* interceptor) { argument 281 interceptor_ = interceptor;
|
H A D | application_manager_unittest.cc | 670 TestServiceInterceptor interceptor; local 674 application_manager_->SetInterceptor(&interceptor); 680 EXPECT_EQ(1, interceptor.call_count()); 681 EXPECT_EQ(url, interceptor.url_spec());
|
/external/chromium_org/chrome/browser/ |
H A D | errorpage_browsertest.cc | 151 // An interceptor that fails a configurable number of requests, then succeeds 193 // An interceptor that serves LinkDoctor responses. It also allows waiting 891 // Ownership of the interceptor is passed to an object the IO thread, but a 914 FailFirstNRequestsInterceptor* interceptor() { function in class:__anon3612::ErrorPageAutoReloadTest 927 // Note that the interceptor updates these variables on the IO thread, 931 EXPECT_EQ(kRequestsToFail, interceptor()->failures()); 932 EXPECT_EQ(kRequestsToFail + 1, interceptor()->requests());
|
/external/smack/src/com/kenai/jbosh/ |
H A D | BOSHClient.java | 644 * @param interceptor exchange interceptor 646 void setExchangeInterceptor(final ExchangeInterceptor interceptor) { argument 647 exchInterceptor.set(interceptor); 957 ExchangeInterceptor interceptor = exchInterceptor.get(); 958 if (interceptor != null) { 959 HTTPExchange newExch = interceptor.interceptExchange(exch);
|
/external/chromium_org/chrome/browser/custom_handlers/ |
H A D | protocol_handler_registry_unittest.cc | 36 net::URLRequestJobFactory* interceptor) { 42 interceptor->MaybeCreateJobWithProtocolHandler( 49 net::URLRequestJobFactory* interceptor) { 55 base::Unretained(interceptor))); 86 ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) { 88 interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>( 90 ASSERT_EQ(expected, interceptor->IsHandledProtocol(scheme)); 91 interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>()); 97 ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) { 104 base::Unretained(interceptor))); 34 AssertInterceptedIO( const GURL& url, net::URLRequestJobFactory* interceptor) argument 47 AssertIntercepted( const GURL& url, net::URLRequestJobFactory* interceptor) argument 83 AssertWillHandleIO( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument 94 AssertWillHandle( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument [all...] |
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_browsertest.cc | 189 // to do that. This interceptor injects headers that give the import 219 scoped_ptr<net::URLRequestInterceptor> interceptor; local 221 interceptor.reset(new LongLivedResourceInterceptor( 224 worker_url, interceptor.Pass()); 226 interceptor.reset(new LongLivedResourceInterceptor( 229 import_url, interceptor.Pass());
|