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

Unified Diff: content/browser/media/media_internals_proxy.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: content/browser/media/media_internals_proxy.cc
diff --git a/content/browser/media/media_internals_proxy.cc b/content/browser/media/media_internals_proxy.cc
index 41cb3895d90d494430e6cef35ee03a2e4708baad..e0eb7b0f4e443afa0022549dff59195cb47c58bb 100644
--- a/content/browser/media/media_internals_proxy.cc
+++ b/content/browser/media/media_internals_proxy.cc
@@ -20,6 +20,8 @@
#include "content/public/browser/notification_types.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_ui.h"
+#include "net/log/net_log_capture_mode.h"
+#include "net/log/net_log_entry.h"
#include "net/log/net_log_event_type.h"
namespace content {
@@ -87,7 +89,7 @@ void MediaInternalsProxy::GetEverything() {
CallJavaScriptFunctionOnUIThread("media.onReceiveConstants", GetConstants());
}
-void MediaInternalsProxy::OnAddEntry(const net::NetLog::Entry& entry) {
+void MediaInternalsProxy::OnAddEntry(const net::NetLogEntry& entry) {
bool is_event_interesting = false;
for (size_t i = 0; i < arraysize(kNetEventTypeFilter); i++) {
if (entry.type() == kNetEventTypeFilter[i]) {

Powered by Google App Engine
This is Rietveld 408576698