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

Unified Diff: content/shell/browser/shell_net_log.cc

Issue 1084533002: Rename NetLogLogger and CapturingNetLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename NetLogLogger and CapturingNetLog(removed compiler error for chromeOS) Created 5 years, 8 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 | « content/shell/browser/shell_net_log.h ('k') | extensions/browser/api/cast_channel/cast_channel_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_net_log.cc
diff --git a/content/shell/browser/shell_net_log.cc b/content/shell/browser/shell_net_log.cc
index a71f19ae58ed79f6173b1341a54c45c36033f681..eb5b0cb3de4cf4aefa7be1aaf9ceb277def7e37e 100644
--- a/content/shell/browser/shell_net_log.cc
+++ b/content/shell/browser/shell_net_log.cc
@@ -11,8 +11,8 @@
#include "base/files/scoped_file.h"
#include "base/values.h"
#include "content/public/common/content_switches.h"
-#include "net/log/net_log_logger.h"
#include "net/log/net_log_util.h"
+#include "net/log/write_to_file_net_log_observer.h"
namespace content {
@@ -63,7 +63,7 @@ ShellNetLog::ShellNetLog(const std::string& app_name) {
<< " for net logging";
} else {
scoped_ptr<base::Value> constants(GetShellConstants(app_name));
- net_log_logger_.reset(new net::NetLogLogger());
+ net_log_logger_.reset(new net::WriteToFileNetLogObserver());
net_log_logger_->StartObserving(this, file.Pass(), constants.get(),
nullptr);
}
« no previous file with comments | « content/shell/browser/shell_net_log.h ('k') | extensions/browser/api/cast_channel/cast_channel_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698