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

Unified Diff: ash/system/chromeos/network/network_state_notifier.cc

Issue 14876021: Re-factor network_event_log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address final nits 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/system/syslogs_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_state_notifier.cc
diff --git a/ash/system/chromeos/network/network_state_notifier.cc b/ash/system/chromeos/network/network_state_notifier.cc
index da4dec0ea6b81ade77f1b74b3d769edb86b1817d..1805143b1830003255a4676f22ba25b8b749d481 100644
--- a/ash/system/chromeos/network/network_state_notifier.cc
+++ b/ash/system/chromeos/network/network_state_notifier.cc
@@ -24,8 +24,6 @@ using chromeos::NetworkStateHandler;
namespace {
-const char kLogModule[] = "NetworkStateNotifier";
-
const int kMinTimeBetweenOutOfCreditsNotifySeconds = 10 * 60;
ash::NetworkObserver::NetworkType GetAshNetworkType(
@@ -158,8 +156,7 @@ void NetworkStateNotifier::NetworkConnectionStateChanged(
if (network->path() != handler->connecting_network())
return; // Only show notifications for explicitly connected networks
- chromeos::network_event_log::AddEntry(
- kLogModule, "ConnectionFailure", network->path());
+ NET_LOG_EVENT("ConnectionFailure", network->path());
std::vector<string16> no_links;
ash::NetworkObserver::NetworkType network_type = GetAshNetworkType(network);
« no previous file with comments | « no previous file | chrome/browser/chromeos/system/syslogs_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698