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

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

Issue 589153002: Remove void* in WebRequestEventRouterDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 6 years, 3 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
« no previous file with comments | « extensions/browser/api/activity_log/web_request_constants.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc1f4333a444e80d32c347699d8470f157e5528c..8bd33f18a3409f118588518924f30dbbb1c1a45c 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
@@ -15,14 +15,14 @@ namespace base {
class DictionaryValue;
} // namspace base
+namespace content {
+class BrowserContext;
+} // namespace content
+
namespace net {
class URLRequest;
} // namspace net
-namespace extension_web_request_api_helpers {
-struct EventResponseDelta;
-} // extension_web_request_api_helpers
-
namespace extensions {
// A delegate class of WebRequestApi that are not a part of chrome.
@@ -43,12 +43,12 @@ class WebRequestEventRouterDelegate {
// Logs an extension action.
virtual void LogExtensionActivity(
- void* browser_context_id,
+ content::BrowserContext* browser_context,
bool is_incognito,
const std::string& extension_id,
const GURL& url,
- const std::string& api_calli,
- const extension_web_request_api_helpers::EventResponseDelta& delta) = 0;
+ const std::string& api_call,
+ scoped_ptr<base::DictionaryValue> details) = 0;
DISALLOW_COPY_AND_ASSIGN(WebRequestEventRouterDelegate);
};
« no previous file with comments | « extensions/browser/api/activity_log/web_request_constants.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698