Searched defs:interceptor (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/chrome/browser/component_updater/test/
H A Dcomponent_updater_ping_manager_unittest.cc66 URLRequestPostInterceptor* interceptor = local
68 EXPECT_TRUE(interceptor);
80 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
81 EXPECT_NE(string::npos, interceptor->GetRequests()[0].find(
84 << interceptor->GetRequestsAsString();
85 interceptor->Reset();
97 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
98 EXPECT_NE(string::npos, interceptor
[all...]
H A Dcrx_downloader_unittest.cc154 GetInterceptor interceptor; local
155 interceptor.SetResponse(
162 EXPECT_EQ(1, interceptor.GetHitCount());
175 GetInterceptor interceptor; local
176 interceptor.SetResponse(
187 EXPECT_EQ(1, interceptor.GetHitCount());
199 GetInterceptor interceptor; local
200 interceptor.SetResponse(
209 EXPECT_EQ(0, interceptor.GetHitCount());
221 GetInterceptor interceptor; local
241 GetInterceptor interceptor; local
266 GetInterceptor interceptor; local
290 GetInterceptor interceptor; local
[all...]
H A Durl_request_post_interceptor.cc148 void OnCreateInterceptor(URLRequestPostInterceptor* interceptor) { argument
150 CHECK(interceptors_.find(interceptor->GetUrl()) == interceptors_.end());
152 interceptors_.insert(std::make_pair(interceptor->GetUrl(), interceptor));
178 // There is an interceptor hooked up for this url. Read the request body,
182 URLRequestPostInterceptor* interceptor(it->second);
192 base::AutoLock auto_lock(interceptor->interceptor_lock_);
193 interceptor->requests_.push_back(request_body);
194 if (interceptor->expectations_.empty())
197 interceptor
[all...]
/external/chromium/net/url_request/
H A Durl_request_job_manager.cc185 URLRequest::Interceptor* interceptor) {
192 DCHECK(std::find(interceptors_.begin(), interceptors_.end(), interceptor) ==
194 interceptors_.push_back(interceptor);
198 URLRequest::Interceptor* interceptor) {
206 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
184 RegisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument
197 UnregisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument
H A Durl_request.cc155 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) { argument
156 URLRequestJobManager::GetInstance()->RegisterRequestInterceptor(interceptor);
160 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) { argument
162 interceptor);
H A Durl_request_unittest.cc1957 // Custom URLRequestJobs for use with interceptor tests
1996 // An Interceptor for use with interceptor tests
2148 TestInterceptor interceptor; local
2151 interceptor.intercept_main_request_ = true;
2152 interceptor.main_headers_ = TestInterceptor::ok_headers();
2153 interceptor.main_data_ = TestInterceptor::ok_data();
2172 // Check the interceptor got called as expected
2173 EXPECT_TRUE(interceptor.did_intercept_main_);
2184 TestInterceptor interceptor; local
2187 interceptor
2217 TestInterceptor interceptor; local
2248 TestInterceptor interceptor; local
2277 TestInterceptor interceptor; local
2308 TestInterceptor interceptor; local
2334 TestInterceptor interceptor; local
2366 TestInterceptor interceptor; local
2390 TestInterceptor interceptor; local
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_disabled_ui_browsertest.cc199 // Note: This interceptor gets requests on the IO thread.
200 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
202 interceptor.SetResponseIgnoreQuery(
206 interceptor.SetResponseIgnoreQuery(
/external/chromium_org/net/url_request/
H A Durl_request_job_manager.cc228 URLRequest::Interceptor* interceptor) {
233 DCHECK(std::find(interceptors_.begin(), interceptors_.end(), interceptor) ==
235 interceptors_.push_back(interceptor);
239 URLRequest::Interceptor* interceptor) {
245 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
227 RegisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument
238 UnregisterRequestInterceptor( URLRequest::Interceptor* interceptor) argument
H A Durl_request.cc151 Interceptor* interceptor) {
152 URLRequest::RegisterRequestInterceptor(interceptor);
156 Interceptor* interceptor) {
157 URLRequest::UnregisterRequestInterceptor(interceptor);
271 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) { argument
272 URLRequestJobManager::GetInstance()->RegisterRequestInterceptor(interceptor);
276 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) { argument
278 interceptor);
150 RegisterRequestInterceptor( Interceptor* interceptor) argument
155 UnregisterRequestInterceptor( Interceptor* interceptor) argument
H A Durl_request_unittest.cc1065 // Custom URLRequestJobs for use with interceptor tests
1105 // An Interceptor for use with interceptor tests
1269 TestInterceptor interceptor; local
1272 interceptor.intercept_main_request_ = true;
1273 interceptor.main_headers_ = TestInterceptor::ok_headers();
1274 interceptor.main_data_ = TestInterceptor::ok_data();
1296 // Check the interceptor got called as expected
1297 EXPECT_TRUE(interceptor.did_intercept_main_);
1308 TestInterceptor interceptor; local
1311 interceptor
1344 TestInterceptor interceptor; local
1378 TestInterceptor interceptor; local
1410 TestInterceptor interceptor; local
1444 TestInterceptor interceptor; local
1473 TestInterceptor interceptor; local
1508 TestInterceptor interceptor; local
1535 TestInterceptor interceptor; local
1565 TestInterceptor interceptor; local
[all...]
/external/chromium_org/sandbox/win/src/
H A Dinterception.h82 // 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 Dresolver_32.cc21 // ret // Jump to interceptor
61 const void* interceptor) {
70 thunk->interceptor_function = reinterpret_cast<ULONG>(interceptor);
59 SetInternalThunk(void* storage, size_t storage_bytes, const void* original_function, const void* interceptor) argument
H A Dresolver_64.cc52 const void* interceptor) {
57 thunk->interceptor_function = reinterpret_cast<ULONG_PTR>(interceptor);
50 SetInternalThunk(void* storage, size_t storage_bytes, const void* original_function, const void* interceptor) argument
H A Dinterception_agent.cc166 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 Dsidestep_resolver.cc22 const void* interceptor; // Real interceptor. member in struct:__anon10642::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/apache-http/src/org/apache/http/protocol/
H A DBasicHttpProcessor.java144 * @param interceptor the interceptor to add
147 void addInterceptor(final HttpRequestInterceptor interceptor) { argument
148 addRequestInterceptor(interceptor);
152 void addInterceptor(final HttpRequestInterceptor interceptor, argument
154 addRequestInterceptor(interceptor, index);
197 * @param interceptor the interceptor to add
200 void addInterceptor(final HttpResponseInterceptor interceptor) { argument
201 addResponseInterceptor(interceptor);
204 addInterceptor(final HttpResponseInterceptor interceptor, int index) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/management/
H A Dmanagement_browsertest.cc252 // Note: This interceptor gets requests on the IO thread.
253 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
256 interceptor.SetResponseIgnoreQuery(
259 interceptor.SetResponseIgnoreQuery(GURL("http://localhost/autoupdate/v2.crx"),
299 interceptor.SetResponseIgnoreQuery(
302 interceptor.SetResponseIgnoreQuery(GURL("http://localhost/autoupdate/v3.crx"),
336 // Note: This interceptor gets requests on the IO thread.
337 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
340 interceptor.SetResponseIgnoreQuery(
343 interceptor
402 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
485 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
559 content::URLLocalHostRequestPrepackagedInterceptor interceptor; local
[all...]
/external/chromium/net/base/
H A Dmock_host_resolver.cc60 void MockHostResolverBase::Reset(HostResolverProc* interceptor) { argument
73 // Lastly add the provided interceptor to the front of the chain.
74 if (interceptor) {
75 interceptor->SetPreviousProc(proc);
76 proc = interceptor;
/external/chromium_org/chrome/browser/custom_handlers/
H A Dprotocol_handler_registry_unittest.cc35 net::URLRequestJobFactory* interceptor) {
40 interceptor->MaybeCreateJobWithProtocolHandler(
47 net::URLRequestJobFactory* interceptor) {
53 base::Unretained(interceptor)));
84 ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) {
86 interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>(
88 ASSERT_EQ(expected, interceptor->IsHandledProtocol(scheme));
89 interceptor->Chain(scoped_ptr<net::URLRequestJobFactory>());
95 ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) {
102 base::Unretained(interceptor)));
33 AssertInterceptedIO( const GURL& url, net::URLRequestJobFactory* interceptor) argument
45 AssertIntercepted( const GURL& url, net::URLRequestJobFactory* interceptor) argument
81 AssertWillHandleIO( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument
92 AssertWillHandle( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument
[all...]
/external/smack/src/com/kenai/jbosh/
H A DBOSHClient.java644 * @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/robolectric/lib/main/
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/smack/asmack-master/lib/
H A Dhttpcore-4.1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
/external/v8/src/
H A Dobjects.cc334 // If the object has an interceptor, try real named properties.
395 // If the object has an interceptor, try real named properties.
571 // callbacks or interceptor calls.
578 // holder will always be the interceptor holder and the search may
579 // only continue with a current object just after the interceptor
1756 // Check local property, ignore interceptor.
1903 Handle<InterceptorInfo> interceptor(GetNamedInterceptor());
1904 if (!interceptor->setter()->IsUndefined()) {
1905 LOG(isolate, ApiNamedPropertyAccess("interceptor-named-set", this, name));
1906 CustomArguments args(isolate, interceptor
10044 InterceptorInfo* interceptor = GetNamedInterceptor(); local
[all...]
/external/v8/test/cctest/
H A Dtest-api.cc1432 // All i < 10000 go to the interceptor.
1451 // The last i goes to the interceptor.
1468 // All i < 10000 go to the interceptor.
1489 // The last i goes to the interceptor.
1505 // All i < 10000 go to the interceptor.
1511 // that both interceptor and accessor are being installed on the same object.
1531 // The last i goes to the interceptor.
1535 // that both interceptor and accessor are being installed on the same object.
1552 // All i < 10000 go to the interceptor.
1571 // The last i goes to the interceptor
5100 v8::Handle<v8::Object> interceptor = templ->NewInstance(); local
[all...]
/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc2038 // All i < 10000 go to the interceptor.
2058 // The last i goes to the interceptor.
2076 // All i < 10000 go to the interceptor.
2098 // The last i goes to the interceptor.
2115 // All i < 10000 go to the interceptor.
2121 // that both interceptor and accessor are being installed on the same object.
2142 // The last i goes to the interceptor.
2146 // that both interceptor and accessor are being installed on the same object.
2164 // All i < 10000 go to the interceptor.
2184 // The last i goes to the interceptor
7045 v8::Handle<v8::Object> interceptor = templ->NewInstance(); local
20284 Helper137002(bool do_store, bool polymorphic, bool remove_accessor, bool interceptor) argument
[all...]

Completed in 521 milliseconds

12