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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 773703002: Generalize network_event_log -> device_event_log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + feedback Created 6 years 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 | « chromeos/chromeos.gyp ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index d5a188adaf6e43f88b25b8b499d1e0833f54b886..ecb017712ce49706d2fe6352742a8dfce4cb9ba7 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -49,6 +49,7 @@
#include "chromeos/dbus/sms_client.h"
#include "chromeos/dbus/system_clock_client.h"
#include "chromeos/dbus/update_engine_client.h"
+#include "chromeos/device_event_log.h"
#include "dbus/bus.h"
#include "dbus/dbus_statistics.h"
@@ -59,6 +60,7 @@ static bool g_using_dbus_thread_manager_for_testing = false;
DBusThreadManager::DBusThreadManager(scoped_ptr<DBusClientBundle> client_bundle)
: client_bundle_(client_bundle.Pass()) {
+ device_event_log::Initialize(0 /* default max entries */);
dbus::statistics::Initialize();
if (client_bundle_->IsUsingAnyRealClient()) {
@@ -92,6 +94,7 @@ DBusThreadManager::~DBusThreadManager() {
dbus_thread_->Stop();
dbus::statistics::Shutdown();
+ device_event_log::Shutdown();
if (!g_dbus_thread_manager)
return; // Called form Shutdown() or local test instance.
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698