Home
last modified time | relevance | path

Searched refs:WebRequestPermissions (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_permissions_unittest.cc101 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 …]
Dweb_request_permissions.h24 class WebRequestPermissions {
47 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRequestPermissions);
Dweb_request_permissions.cc81 bool WebRequestPermissions::HideRequest( in HideRequest()
108 bool WebRequestPermissions::CanExtensionAccessURL( in CanExtensionAccessURL()
Dweb_request_api.cc673 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/
Dwebrequest_action.cc443 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()
Dwebrequest_rules_registry.h28 class WebRequestPermissions; variable