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

Side by Side Diff: chrome/browser/chromeos/idle_detector.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "ui/base/user_activity/user_activity_observer.h" 13 #include "ui/base/user_activity/user_activity_observer.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 class IdleDetector : public ui::UserActivityObserver { 17 class IdleDetector : public ui::UserActivityObserver {
18 public: 18 public:
19 explicit IdleDetector(const base::Closure& on_idle_callback); 19 explicit IdleDetector(const base::Closure& on_idle_callback);
20 ~IdleDetector() override; 20 ~IdleDetector() override;
(...skipping 12 matching lines...) Expand all
33 base::Closure idle_callback_; 33 base::Closure idle_callback_;
34 34
35 base::TimeDelta timeout_; 35 base::TimeDelta timeout_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(IdleDetector); 37 DISALLOW_COPY_AND_ASSIGN(IdleDetector);
38 }; 38 };
39 39
40 } // namespace chromeos 40 } // namespace chromeos
41 41
42 #endif // CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_ 42 #endif // CHROME_BROWSER_CHROMEOS_IDLE_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/first_run/steps/tray_step.h ('k') | chrome/browser/chromeos/input_method/accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698