Home
last modified time | relevance | path

Searched refs:WebRequestAction (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_action.cc44 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 …]
Dwebrequest_action.h53 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 …]
Dwebrequest_action_unittest.cc150 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()
Dwebrequest_rules_registry.h44 typedef DeclarativeRule<WebRequestCondition, WebRequestAction> WebRequestRule;
Dwebrequest_rules_registry.cc147 WebRequestAction::ApplyInfo apply_info = { in CreateDeltas()
356 WebRequestAction::STRATEGY_DEFAULT) { in HostPermissionsChecker()