Searched refs:WebRequestAction (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
D | webrequest_action.cc | 44 return scoped_refptr<const WebRequestAction>(NULL); \ 109 scoped_refptr<const WebRequestAction> CallConstructorFactoryMethod( in CallConstructorFactoryMethod() 114 return scoped_refptr<const WebRequestAction>(new T); in CallConstructorFactoryMethod() 117 scoped_refptr<const WebRequestAction> CreateRedirectRequestAction( in CreateRedirectRequestAction() 128 return scoped_refptr<const WebRequestAction>( in CreateRedirectRequestAction() 132 scoped_refptr<const WebRequestAction> CreateRedirectRequestByRegExAction( in CreateRedirectRequestByRegExAction() 152 return scoped_refptr<const WebRequestAction>(NULL); in CreateRedirectRequestByRegExAction() 154 return scoped_refptr<const WebRequestAction>( in CreateRedirectRequestByRegExAction() 158 scoped_refptr<const WebRequestAction> CreateSetRequestHeaderAction( in CreateSetRequestHeaderAction() 169 return scoped_refptr<const WebRequestAction>( in CreateSetRequestHeaderAction() [all …]
|
D | webrequest_action.h | 53 class WebRequestAction : public base::RefCounted<WebRequestAction> { 104 virtual bool Equals(const WebRequestAction* other) const; 136 static scoped_refptr<const WebRequestAction> Create( 156 friend class base::RefCounted<WebRequestAction>; 157 virtual ~WebRequestAction(); 158 WebRequestAction(int stages, 178 typedef DeclarativeActionSet<WebRequestAction> WebRequestActionSet; 185 class WebRequestCancelAction : public WebRequestAction { 202 class WebRequestRedirectAction : public WebRequestAction { 207 virtual bool Equals(const WebRequestAction* other) const OVERRIDE; [all …]
|
D | webrequest_action_unittest.cc | 150 WebRequestAction::ApplyInfo apply_info = { extension_info_map_.get(), in ActionWorksOnRequest() 184 scoped_refptr<const WebRequestAction> result; in TEST() 189 result = WebRequestAction::Create(NULL, empty_list, &error, &bad_message); in TEST() 196 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST() 203 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST() 210 result = WebRequestAction::Create(NULL, input, &error, &bad_message); in TEST() 214 EXPECT_EQ(WebRequestAction::ACTION_CANCEL_REQUEST, result->type()); in TEST() 247 EXPECT_EQ(WebRequestAction::ACTION_IGNORE_RULES, in TEST()
|
D | webrequest_rules_registry.h | 44 typedef DeclarativeRule<WebRequestCondition, WebRequestAction> WebRequestRule;
|
D | webrequest_rules_registry.cc | 147 WebRequestAction::ApplyInfo apply_info = { in CreateDeltas() 356 WebRequestAction::STRATEGY_DEFAULT) { in HostPermissionsChecker()
|