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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 919183002: Move chromeos::device_event_log into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shut down in PostDestroyThreads. Created 5 years, 10 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 | « 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 b75b3b0a43f1add14cf493726475c0077c949e31..9dd0c6fca8417aaab6707e416f42bb35330980e3 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -51,7 +51,6 @@
#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"
@@ -62,7 +61,6 @@ 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()) {
@@ -96,7 +94,6 @@ 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