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

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

Issue 1079163007: net_log_logger_ replaced with write_to_file_observer_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: net_log_logger_ replaced with write_to_file_observer_ 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') | no next file » | 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 eb5b0cb3de4cf4aefa7be1aaf9ceb277def7e37e..2a21b8ebfe352a093847ead52fbe5b36c01318c4 100644
--- a/content/shell/browser/shell_net_log.cc
+++ b/content/shell/browser/shell_net_log.cc
@@ -63,17 +63,17 @@ 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::WriteToFileNetLogObserver());
- net_log_logger_->StartObserving(this, file.Pass(), constants.get(),
- nullptr);
+ write_to_file_observer_.reset(new net::WriteToFileNetLogObserver());
+ write_to_file_observer_->StartObserving(this, file.Pass(),
+ constants.get(), nullptr);
}
}
}
ShellNetLog::~ShellNetLog() {
// Remove the observer we own before we're destroyed.
- if (net_log_logger_)
- net_log_logger_->StopObserving(nullptr);
+ if (write_to_file_observer_)
+ write_to_file_observer_->StopObserving(nullptr);
}
} // namespace content
« no previous file with comments | « content/shell/browser/shell_net_log.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698