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

Unified Diff: extensions/browser/api/web_request/web_request_api_helpers.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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_api_helpers.cc
diff --git a/extensions/browser/api/web_request/web_request_api_helpers.cc b/extensions/browser/api/web_request/web_request_api_helpers.cc
index 906d13c732869f0a184c41dfc654e2f133d611d1..990570b71abd3f04ef512915ed47f1487e7c09ce 100644
--- a/extensions/browser/api/web_request/web_request_api_helpers.cc
+++ b/extensions/browser/api/web_request/web_request_api_helpers.cc
@@ -32,7 +32,10 @@
#include "net/cookies/parsed_cookie.h"
#include "net/http/http_util.h"
#include "net/log/net_log.h"
+#include "net/log/net_log_capture_mode.h"
#include "net/log/net_log_event_type.h"
+#include "net/log/net_log_parameters_callback.h"
+#include "net/log/net_log_with_source.h"
#include "net/url_request/url_request.h"
#include "url/url_constants.h"
@@ -255,7 +258,7 @@ EventResponseDelta::~EventResponseDelta() {
// Creates a NetLog callback the returns a Value with the ID of the extension
// that caused an event. |delta| must remain valid for the lifetime of the
// callback.
-net::NetLog::ParametersCallback CreateNetLogExtensionIdCallback(
+net::NetLogParametersCallback CreateNetLogExtensionIdCallback(
const EventResponseDelta* delta) {
return net::NetLog::StringCallback("extension_id", &delta->extension_id);
}

Powered by Google App Engine
This is Rietveld 408576698