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

Side by Side Diff: services/ui/ws/user_activity_monitor.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « services/ui/ws/transient_windows_unittest.cc ('k') | services/ui/ws/user_activity_monitor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_WS_USER_ACTIVITY_MONITOR_H_ 5 #ifndef SERVICES_UI_WS_USER_ACTIVITY_MONITOR_H_
6 #define COMPONENTS_MUS_WS_USER_ACTIVITY_MONITOR_H_ 6 #define SERVICES_UI_WS_USER_ACTIVITY_MONITOR_H_
7 7
8 #include "base/time/tick_clock.h" 8 #include "base/time/tick_clock.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
11 #include "components/mus/public/interfaces/user_activity_monitor.mojom.h"
12 #include "mojo/public/cpp/bindings/binding_set.h" 11 #include "mojo/public/cpp/bindings/binding_set.h"
13 #include "mojo/public/cpp/bindings/interface_ptr_set.h" 12 #include "mojo/public/cpp/bindings/interface_ptr_set.h"
13 #include "services/ui/public/interfaces/user_activity_monitor.mojom.h"
14 14
15 namespace mus { 15 namespace mus {
16 namespace ws { 16 namespace ws {
17 17
18 namespace test { 18 namespace test {
19 class UserActivityMonitorTestApi; 19 class UserActivityMonitorTestApi;
20 } 20 }
21 21
22 class UserActivityMonitor : public mojom::UserActivityMonitor { 22 class UserActivityMonitor : public mojom::UserActivityMonitor {
23 public: 23 public:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // least one of the idle-observers are notified ACTIVE. 72 // least one of the idle-observers are notified ACTIVE.
73 base::RepeatingTimer idle_timer_; 73 base::RepeatingTimer idle_timer_;
74 base::TimeTicks last_activity_; 74 base::TimeTicks last_activity_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(UserActivityMonitor); 76 DISALLOW_COPY_AND_ASSIGN(UserActivityMonitor);
77 }; 77 };
78 78
79 } // namespace ws 79 } // namespace ws
80 } // namespace mus 80 } // namespace mus
81 81
82 #endif // COMPONENTS_MUS_WS_USER_ACTIVITY_MONITOR_H_ 82 #endif // SERVICES_UI_WS_USER_ACTIVITY_MONITOR_H_
OLDNEW
« no previous file with comments | « services/ui/ws/transient_windows_unittest.cc ('k') | services/ui/ws/user_activity_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698