Searched refs:WebRequestPermissions (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_permissions_unittest.cc | 101 WebRequestPermissions::HideRequest(extension_info_map_.get(), &request)) in TEST_F() 110 WebRequestPermissions::HideRequest(extension_info_map_.get(), &request)) in TEST_F() 120 EXPECT_FALSE(WebRequestPermissions::HideRequest(extension_info_map_.get(), in TEST_F() 134 EXPECT_TRUE(WebRequestPermissions::HideRequest(extension_info_map_.get(), in TEST_F() 146 EXPECT_TRUE(WebRequestPermissions::HideRequest(extension_info_map_.get(), in TEST_F() 156 EXPECT_TRUE(WebRequestPermissions::CanExtensionAccessURL( in TEST_F() 161 WebRequestPermissions::DO_NOT_CHECK_HOST)); in TEST_F() 162 EXPECT_FALSE(WebRequestPermissions::CanExtensionAccessURL( in TEST_F() 167 WebRequestPermissions::REQUIRE_HOST_PERMISSION)); in TEST_F() 168 EXPECT_TRUE(WebRequestPermissions::CanExtensionAccessURL( in TEST_F() [all …]
|
D | web_request_permissions.h | 24 class WebRequestPermissions { 47 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRequestPermissions);
|
D | web_request_permissions.cc | 81 bool WebRequestPermissions::HideRequest( in HideRequest() 108 bool WebRequestPermissions::CanExtensionAccessURL( in CanExtensionAccessURL()
|
D | web_request_api.cc | 673 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnBeforeRequest() 739 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnBeforeSendHeaders() 795 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnSendHeaders() 830 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnHeadersReceived() 899 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnAuthRequired() 949 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnBeforeRedirect() 996 WebRequestPermissions::HideRequest(extension_info_map, request)) in OnResponseStarted() 1043 (WebRequestPermissions::HideRequest(extension_info_map, request) && in OnCompleted() 1097 (WebRequestPermissions::HideRequest(extension_info_map, request) && in OnErrorOccurred() 1447 if (!is_guest && !WebRequestPermissions::CanExtensionAccessURL( in GetMatchingListenersImpl() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
D | webrequest_action.cc | 443 if (WebRequestPermissions::HideRequest(extension_info_map, request)) in HasPermission() 451 WebRequestPermissions::HostPermissionsCheck permission_check = in HasPermission() 452 WebRequestPermissions::REQUIRE_ALL_URLS; in HasPermission() 457 permission_check = WebRequestPermissions::DO_NOT_CHECK_HOST; in HasPermission() 460 permission_check = WebRequestPermissions::REQUIRE_HOST_PERMISSION; in HasPermission() 463 return WebRequestPermissions::CanExtensionAccessURL( in HasPermission()
|
D | webrequest_rules_registry.h | 28 class WebRequestPermissions; variable
|