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

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager.h

Issue 222383002: Move UserActivityDetector from ash/wm/ to ui/wm/core/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove an unneeded include Created 6 years, 9 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: chrome/browser/chromeos/system/automatic_reboot_manager.h
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.h b/chrome/browser/chromeos/system/automatic_reboot_manager.h
index 83e5398c336022e312f05a781997184a1e06cefa..6e1adb50ae0bf2b2669a1e5623d877061475efd0 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager.h
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_
#define CHROME_BROWSER_CHROMEOS_SYSTEM_AUTOMATIC_REBOOT_MANAGER_H_
-#include "ash/wm/user_activity_observer.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
@@ -18,6 +17,7 @@
#include "chromeos/dbus/update_engine_client.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "ui/wm/core/user_activity_observer.h"
class PrefRegistrySimple;
@@ -72,7 +72,7 @@ class AutomaticRebootManagerObserver;
// /var/run ensures that it gets cleared automatically on every boot.
class AutomaticRebootManager : public PowerManagerClient::Observer,
public UpdateEngineClient::Observer,
- public ash::UserActivityObserver,
+ public wm::UserActivityObserver,
public content::NotificationObserver {
public:
// The current uptime and the uptime at which an update was applied and a
@@ -103,7 +103,7 @@ class AutomaticRebootManager : public PowerManagerClient::Observer,
virtual void UpdateStatusChanged(
const UpdateEngineClient::Status& status) OVERRIDE;
- // ash::UserActivityObserver:
+ // wm::UserActivityObserver:
virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
// content::NotificationObserver:

Powered by Google App Engine
This is Rietveld 408576698