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

Side by Side Diff: chrome/browser/chromeos/camera_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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CAMERA_DETECTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CAMERA_DETECTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_CAMERA_DETECTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_CAMERA_DETECTOR_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 10
10 namespace chromeos { 11 namespace chromeos {
11 12
12 // Class used to check for camera presence. 13 // Class used to check for camera presence.
13 class CameraDetector { 14 class CameraDetector {
14 public: 15 public:
15 enum CameraPresence { 16 enum CameraPresence {
16 kCameraPresenceUnknown = 0, 17 kCameraPresenceUnknown = 0,
17 kCameraAbsent, 18 kCameraAbsent,
18 kCameraPresent 19 kCameraPresent
(...skipping 21 matching lines...) Expand all
40 static CameraPresence camera_presence_; 41 static CameraPresence camera_presence_;
41 42
42 static bool presence_check_in_progress_; 43 static bool presence_check_in_progress_;
43 44
44 DISALLOW_COPY_AND_ASSIGN(CameraDetector); 45 DISALLOW_COPY_AND_ASSIGN(CameraDetector);
45 }; 46 };
46 47
47 } // namespace chromeos 48 } // namespace chromeos
48 49
49 #endif // CHROME_BROWSER_CHROMEOS_CAMERA_DETECTOR_H_ 50 #endif // CHROME_BROWSER_CHROMEOS_CAMERA_DETECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/boot_times_recorder.cc ('k') | chrome/browser/chromeos/camera_presence_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698