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

Side by Side Diff: ash/system/power/video_activity_notifier.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « ash/system/power/tray_power_unittest.cc ('k') | ash/system/power/video_activity_notifier.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 5 #ifndef ASH_SYSTEM_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
6 #define ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 6 #define ASH_SYSTEM_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/video_detector.h" 9 #include "ash/wm/video_detector.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 // Notifies the power manager when a video is playing. 16 // Notifies the power manager when a video is playing.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Periodically calls MaybeNotifyPowerManager() while 54 // Periodically calls MaybeNotifyPowerManager() while
55 // should_notify_power_manager() is true. 55 // should_notify_power_manager() is true.
56 base::RepeatingTimer notify_timer_; 56 base::RepeatingTimer notify_timer_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(VideoActivityNotifier); 58 DISALLOW_COPY_AND_ASSIGN(VideoActivityNotifier);
59 }; 59 };
60 60
61 } // namespace ash 61 } // namespace ash
62 62
63 #endif // ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 63 #endif // ASH_SYSTEM_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/system/power/tray_power_unittest.cc ('k') | ash/system/power/video_activity_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698