| Index: chrome/browser/extensions/api/web_request/web_request_api.h
|
| diff --git a/chrome/browser/extensions/api/web_request/web_request_api.h b/chrome/browser/extensions/api/web_request/web_request_api.h
|
| index d25e326c19585855aa2f5d6de23009d4ddab5576..3219008ead182527f3fe7e7601701f450991b703 100644
|
| --- a/chrome/browser/extensions/api/web_request/web_request_api.h
|
| +++ b/chrome/browser/extensions/api/web_request/web_request_api.h
|
| @@ -13,6 +13,7 @@
|
| #include <vector>
|
|
|
| #include "base/memory/singleton.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/time.h"
|
| #include "chrome/browser/extensions/api/declarative_webrequest/request_stages.h"
|
| #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h"
|
| @@ -54,7 +55,8 @@ class URLRequest;
|
| // This class observes network events and routes them to the appropriate
|
| // extensions listening to those events. All methods must be called on the IO
|
| // thread unless otherwise specified.
|
| -class ExtensionWebRequestEventRouter {
|
| +class ExtensionWebRequestEventRouter
|
| + : public base::SupportsWeakPtr<ExtensionWebRequestEventRouter> {
|
| public:
|
| struct BlockedRequest;
|
|
|
| @@ -334,6 +336,8 @@ class ExtensionWebRequestEventRouter {
|
| // set for the OnHeadersReceived stage and NULL otherwise. Returns whether any
|
| // deltas were generated.
|
| bool ProcessDeclarativeRules(
|
| + void* profile,
|
| + const std::string& event_name,
|
| net::URLRequest* request,
|
| extensions::RequestStages request_stage,
|
| net::HttpResponseHeaders* original_response_headers);
|
|
|