diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-16 02:05:28 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-16 02:05:28 +0000 |
commit | ef42dc3e4c9a208e214b495b67df2a519ba3c995 (patch) | |
tree | 67f38e4799ed08e516e77b29c00ede2b68ae2f53 /ash/shell.cc | |
parent | 5981c66c7b9f8d84471f9f44d3b8a88a5fdd7c2c (diff) | |
download | chromium_src-ef42dc3e4c9a208e214b495b67df2a519ba3c995.zip chromium_src-ef42dc3e4c9a208e214b495b67df2a519ba3c995.tar.gz chromium_src-ef42dc3e4c9a208e214b495b67df2a519ba3c995.tar.bz2 |
app_shell: Initialize chromeos::DBusThreadManager.
Let app_shell communicate with Chrome OS system processes.
Also start notifying the power manager about user activity.
BUG=354711
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/239433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.cc')
-rw-r--r-- | ash/shell.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/shell.cc b/ash/shell.cc index 6891419..2c0277f 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -132,7 +132,7 @@ #include "ash/system/chromeos/session/logout_confirmation_controller.h" #include "base/bind_helpers.h" #include "base/sys_info.h" -#include "ui/chromeos/user_activity_notifier.h" +#include "ui/chromeos/user_activity_power_manager_notifier.h" #include "ui/display/chromeos/display_configurator.h" #endif // defined(OS_CHROMEOS) @@ -1001,7 +1001,7 @@ void Shell::Init() { power_event_observer_.reset(new PowerEventObserver()); user_activity_notifier_.reset( - new ui::UserActivityNotifier(user_activity_detector_.get())); + new ui::UserActivityPowerManagerNotifier(user_activity_detector_.get())); video_activity_notifier_.reset( new VideoActivityNotifier(video_detector_.get())); bluetooth_notification_controller_.reset(new BluetoothNotificationController); |