Home
last modified time | relevance | path

Searched refs:ExtensionWebRequestEventRouter (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_webrequest_api.cc119 const ExtensionWebRequestEventRouter::RequestFilter& filter, in AddEventListenerOnIOThread()
121 ExtensionWebRequestEventRouter::GetInstance()->AddEventListener( in AddEventListenerOnIOThread()
134 ExtensionWebRequestEventRouter::GetInstance()->OnEventHandled( in EventHandledOnIOThread()
143 struct ExtensionWebRequestEventRouter::RequestFilter {
155 struct ExtensionWebRequestEventRouter::ExtraInfoSpec {
172 struct ExtensionWebRequestEventRouter::EventListener {
192 struct ExtensionWebRequestEventRouter::BlockedRequest {
208 bool ExtensionWebRequestEventRouter::RequestFilter::InitFromValue( in InitFromValue()
251 bool ExtensionWebRequestEventRouter::ExtraInfoSpec::InitFromValue( in InitFromValue()
281 ExtensionWebRequestEventRouter* ExtensionWebRequestEventRouter::GetInstance() { in GetInstance()
[all …]
Dextension_webrequest_api.h32 class ExtensionWebRequestEventRouter {
37 static ExtensionWebRequestEventRouter* GetInstance();
90 friend struct DefaultSingletonTraits<ExtensionWebRequestEventRouter>;
98 ExtensionWebRequestEventRouter();
99 ~ExtensionWebRequestEventRouter();
144 DISALLOW_COPY_AND_ASSIGN(ExtensionWebRequestEventRouter);
Dextension_event_router.cc41 ExtensionWebRequestEventRouter::GetInstance()->RemoveEventListener( in NotifyEventListenerRemovedOnIOThread()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_api.cc111 ExtensionWebRequestEventRouter::EventTypes type) { in GetRequestStageAsString()
113 case ExtensionWebRequestEventRouter::kInvalidEvent: in GetRequestStageAsString()
115 case ExtensionWebRequestEventRouter::kOnBeforeRequest: in GetRequestStageAsString()
117 case ExtensionWebRequestEventRouter::kOnBeforeSendHeaders: in GetRequestStageAsString()
119 case ExtensionWebRequestEventRouter::kOnSendHeaders: in GetRequestStageAsString()
121 case ExtensionWebRequestEventRouter::kOnHeadersReceived: in GetRequestStageAsString()
123 case ExtensionWebRequestEventRouter::kOnBeforeRedirect: in GetRequestStageAsString()
125 case ExtensionWebRequestEventRouter::kOnAuthRequired: in GetRequestStageAsString()
127 case ExtensionWebRequestEventRouter::kOnResponseStarted: in GetRequestStageAsString()
129 case ExtensionWebRequestEventRouter::kOnErrorOccurred: in GetRequestStageAsString()
[all …]
Dweb_request_api_unittest.cc92 ExtensionWebRequestEventRouter::EventResponse* response) { in EventHandledOnIOThread()
93 ExtensionWebRequestEventRouter::GetInstance()->OnEventHandled( in EventHandledOnIOThread()
221 ExtensionWebRequestEventRouter::RequestFilter filter; in TEST_F()
224 ExtensionWebRequestEventRouter::GetInstance()->AddEventListener( in TEST_F()
226 filter, ExtensionWebRequestEventRouter::ExtraInfoSpec::BLOCKING, -1, -1, in TEST_F()
228 ExtensionWebRequestEventRouter::GetInstance()->AddEventListener( in TEST_F()
230 filter, ExtensionWebRequestEventRouter::ExtraInfoSpec::BLOCKING, -1, -1, in TEST_F()
249 ExtensionWebRequestEventRouter::EventResponse* response = NULL; in TEST_F()
252 response = new ExtensionWebRequestEventRouter::EventResponse( in TEST_F()
261 response = new ExtensionWebRequestEventRouter::EventResponse( in TEST_F()
[all …]
Dweb_request_api.h92 class ExtensionWebRequestEventRouter
93 : public base::SupportsWeakPtr<ExtensionWebRequestEventRouter> {
169 static ExtensionWebRequestEventRouter* GetInstance();
310 friend struct DefaultSingletonTraits<ExtensionWebRequestEventRouter>;
323 ExtensionWebRequestEventRouter();
324 ~ExtensionWebRequestEventRouter();
363 std::vector<const ExtensionWebRequestEventRouter::EventListener*>*
466 DISALLOW_COPY_AND_ASSIGN(ExtensionWebRequestEventRouter);
/external/chromium/chrome/browser/net/
Dchrome_network_delegate.cc69 return ExtensionWebRequestEventRouter::GetInstance()->OnBeforeRequest( in OnBeforeURLRequest()
77 return ExtensionWebRequestEventRouter::GetInstance()->OnBeforeSendHeaders( in OnBeforeSendHeaders()
91 ExtensionWebRequestEventRouter::GetInstance()->OnURLRequestDestroyed( in OnURLRequestDestroyed()
/external/chromium_org/chrome/browser/net/
Dchrome_network_delegate.cc453 int rv = ExtensionWebRequestEventRouter::GetInstance()->OnBeforeRequest( in OnBeforeURLRequest()
471 return ExtensionWebRequestEventRouter::GetInstance()->OnBeforeSendHeaders( in OnBeforeSendHeaders()
478 ExtensionWebRequestEventRouter::GetInstance()->OnSendHeaders( in OnSendHeaders()
487 return ExtensionWebRequestEventRouter::GetInstance()->OnHeadersReceived( in OnHeadersReceived()
494 ExtensionWebRequestEventRouter::GetInstance()->OnBeforeRedirect( in OnBeforeRedirect()
501 ExtensionWebRequestEventRouter::GetInstance()->OnResponseStarted( in OnResponseStarted()
564 ExtensionWebRequestEventRouter::GetInstance()->OnCompleted( in OnCompleted()
569 ExtensionWebRequestEventRouter::GetInstance()->OnErrorOccurred( in OnCompleted()
580 ExtensionWebRequestEventRouter::GetInstance()->OnURLRequestDestroyed( in OnURLRequestDestroyed()
598 return ExtensionWebRequestEventRouter::GetInstance()->OnAuthRequired( in OnAuthRequired()
/external/chromium_org/chrome/browser/profiles/
Doff_the_record_profile_impl.cc80 ExtensionWebRequestEventRouter::GetInstance()->OnOTRProfileCreated( in NotifyOTRProfileCreatedOnIOThread()
86 ExtensionWebRequestEventRouter::GetInstance()->OnOTRProfileDestroyed( in NotifyOTRProfileDestroyedOnIOThread()
/external/chromium_org/chrome/browser/extensions/api/declarative/
Drules_registry_service.cc33 ExtensionWebRequestEventRouter::GetInstance()->RegisterRulesRegistry( in RegisterToExtensionWebRequestEventRouterOnIO()
/external/chromium_org/chrome/browser/guestview/webview/
Dwebview_guest.cc100 ExtensionWebRequestEventRouter::GetInstance()->RemoveWebViewEventListeners( in RemoveWebViewEventListenersOnIOThread()