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

Unified Diff: remoting/base/vlog_net_log.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: remoting/base/vlog_net_log.cc
diff --git a/remoting/base/vlog_net_log.cc b/remoting/base/vlog_net_log.cc
index 4a3ad8e8f776e43e77548ac5f7f0264b6151ee2f..6eb62335bc6cf69302641312da152a831ff56e4e 100644
--- a/remoting/base/vlog_net_log.cc
+++ b/remoting/base/vlog_net_log.cc
@@ -12,6 +12,7 @@
#include "base/threading/thread_restrictions.h"
#include "base/time/time.h"
#include "base/values.h"
+#include "net/log/net_log_entry.h"
namespace remoting {
@@ -21,7 +22,7 @@ class VlogNetLog::Observer : public net::NetLog::ThreadSafeObserver {
~Observer() override;
// NetLog::ThreadSafeObserver overrides:
- void OnAddEntry(const net::NetLog::Entry& entry) override;
+ void OnAddEntry(const net::NetLogEntry& entry) override;
private:
DISALLOW_COPY_AND_ASSIGN(Observer);
@@ -33,7 +34,7 @@ VlogNetLog::Observer::Observer() {
VlogNetLog::Observer::~Observer() {
}
-void VlogNetLog::Observer::OnAddEntry(const net::NetLog::Entry& entry) {
+void VlogNetLog::Observer::OnAddEntry(const net::NetLogEntry& entry) {
if (VLOG_IS_ON(4)) {
std::unique_ptr<base::Value> value(entry.ToValue());
std::string json;

Powered by Google App Engine
This is Rietveld 408576698