| Index: chrome/browser/chromeos/policy/recommendation_restorer.h
|
| diff --git a/chrome/browser/chromeos/policy/recommendation_restorer.h b/chrome/browser/chromeos/policy/recommendation_restorer.h
|
| index 4149ddbfdc49fd3bb5dbec6e17a520df0ec7a6e4..c81b06e40c748bd1093026e3a4e4463c84cceee2 100644
|
| --- a/chrome/browser/chromeos/policy/recommendation_restorer.h
|
| +++ b/chrome/browser/chromeos/policy/recommendation_restorer.h
|
| @@ -7,7 +7,6 @@
|
|
|
| #include <string>
|
|
|
| -#include "ash/wm/user_activity_observer.h"
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/prefs/pref_change_registrar.h"
|
| @@ -15,6 +14,7 @@
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +#include "ui/wm/core/user_activity_observer.h"
|
|
|
| class Profile;
|
|
|
| @@ -28,7 +28,7 @@ namespace policy {
|
| // becomes idle for one minute.
|
| class RecommendationRestorer : public KeyedService,
|
| public content::NotificationObserver,
|
| - public ash::UserActivityObserver {
|
| + public wm::UserActivityObserver {
|
| public:
|
| explicit RecommendationRestorer(Profile* profile);
|
| virtual ~RecommendationRestorer();
|
| @@ -41,7 +41,7 @@ class RecommendationRestorer : public KeyedService,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| - // ash::UserActivityObserver:
|
| + // wm::UserActivityObserver:
|
| virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
|
|
|
| // If a recommended value and a user setting exist for |pref_name|, clears the
|
|
|