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

Unified Diff: chromeos/network/managed_network_configuration_handler.cc

Issue 14876021: Re-factor network_event_log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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: chromeos/network/managed_network_configuration_handler.cc
diff --git a/chromeos/network/managed_network_configuration_handler.cc b/chromeos/network/managed_network_configuration_handler.cc
index ea772f6b923f2d402ad3e721cbb5b89d538bed2e..2d5267aeac5e21df2dd783cb6879541ad84ce7d5 100644
--- a/chromeos/network/managed_network_configuration_handler.cc
+++ b/chromeos/network/managed_network_configuration_handler.cc
@@ -43,8 +43,6 @@ namespace chromeos {
namespace {
-const char kLogModule[] = "ManagedNetworkConfigurationHandler";
-
// These are error strings used for error callbacks. None of these error
// messages are user-facing: they should only appear in logs.
const char kInvalidUserSettingsMessage[] = "User settings are invalid.";
@@ -78,7 +76,7 @@ void RunErrorCallback(const std::string& service_path,
const std::string& error_name,
const std::string& error_message,
const network_handler::ErrorCallback& error_callback) {
- network_event_log::AddEntry(kLogModule, error_name, error_message);
+ NET_LOG_ERROR(error_name, error_message);
error_callback.Run(
error_name,
make_scoped_ptr(

Powered by Google App Engine
This is Rietveld 408576698