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

Side by Side Diff: extensions/shell/browser/shell_audio_controller_chromeos.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_
7 7
8 #include <stdint.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "chromeos/audio/cras_audio_handler.h" 11 #include "chromeos/audio/cras_audio_handler.h"
10 12
11 namespace extensions { 13 namespace extensions {
12 14
13 // Ensures that the "best" input and output audio devices are always active. 15 // Ensures that the "best" input and output audio devices are always active.
14 class ShellAudioController : public chromeos::CrasAudioHandler::AudioObserver { 16 class ShellAudioController : public chromeos::CrasAudioHandler::AudioObserver {
15 public: 17 public:
16 ShellAudioController(); 18 ShellAudioController();
17 ~ShellAudioController() override; 19 ~ShellAudioController() override;
(...skipping 11 matching lines...) Expand all
29 // Gets the current device list from CRAS, chooses the best input and output 31 // Gets the current device list from CRAS, chooses the best input and output
30 // device, and activates them if they aren't already active. 32 // device, and activates them if they aren't already active.
31 void ActivateDevices(); 33 void ActivateDevices();
32 34
33 DISALLOW_COPY_AND_ASSIGN(ShellAudioController); 35 DISALLOW_COPY_AND_ASSIGN(ShellAudioController);
34 }; 36 };
35 37
36 } // namespace extensions 38 } // namespace extensions
37 39
38 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_ 40 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_AUDIO_CONTROLLER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698