| OLD | NEW |
| 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_CAMERA_PRESENCE_NOTIFIER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CAMERA_PRESENCE_NOTIFIER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CAMERA_PRESENCE_NOTIFIER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CAMERA_PRESENCE_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 11 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 // Camera presence status dispatcher. | 16 // Camera presence status dispatcher. |
| 16 class CameraPresenceNotifier { | 17 class CameraPresenceNotifier { |
| 17 public: | 18 public: |
| (...skipping 28 matching lines...) Expand all Loading... |
| 46 | 47 |
| 47 base::WeakPtrFactory<CameraPresenceNotifier> weak_factory_; | 48 base::WeakPtrFactory<CameraPresenceNotifier> weak_factory_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(CameraPresenceNotifier); | 50 DISALLOW_COPY_AND_ASSIGN(CameraPresenceNotifier); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace chromeos | 53 } // namespace chromeos |
| 53 | 54 |
| 54 #endif // CHROME_BROWSER_CHROMEOS_CAMERA_PRESENCE_NOTIFIER_H_ | 55 #endif // CHROME_BROWSER_CHROMEOS_CAMERA_PRESENCE_NOTIFIER_H_ |
| 55 | 56 |
| OLD | NEW |