Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: extensions/browser/api/web_request/web_request_event_router_delegate.h

Issue 1577673002: WebRequest API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy GetSocketAddress().host instead of & to resolve win failure Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/web_request/web_request_event_router_delegate.h
diff --git a/extensions/browser/api/web_request/web_request_event_router_delegate.h b/extensions/browser/api/web_request/web_request_event_router_delegate.h
index 1bacf6e469cf868b02286213a6c51686484088b1..35f3dbbf324ef25c70d0277eb1e55487558e58f1 100644
--- a/extensions/browser/api/web_request/web_request_event_router_delegate.h
+++ b/extensions/browser/api/web_request/web_request_event_router_delegate.h
@@ -8,13 +8,13 @@
#include <string>
#include "base/macros.h"
-#include "base/values.h"
+#include "base/memory/scoped_ptr.h"
class GURL;
namespace base {
class DictionaryValue;
-} // namspace base
+} // namespace base
namespace content {
class BrowserContext;
@@ -22,10 +22,12 @@ class BrowserContext;
namespace net {
class URLRequest;
-} // namspace net
+} // namespace net
namespace extensions {
+class WebRequestEventDetails;
+
// A delegate class of WebRequestApi that are not a part of chrome.
class WebRequestEventRouterDelegate {
public:
@@ -35,7 +37,7 @@ class WebRequestEventRouterDelegate {
// Looks up the tab and window ID for a given request.
// Called on the IO thread.
virtual void ExtractExtraRequestDetails(const net::URLRequest* request,
- base::DictionaryValue* out);
+ WebRequestEventDetails* out);
// Called to check extra parameters (e.g., tab_id, windown_id) when filtering
// event listeners.

Powered by Google App Engine
This is Rietveld 408576698