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

Side by Side Diff: remoting/host/audio_capturer_win.h

Issue 19695005: Revert 211956 "base: Change WeakPtr to use SequenceChecker inste..." (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: message loop header Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 5 #ifndef REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
6 #define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 6 #define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
7 7
8 #include <audioclient.h> 8 #include <audioclient.h>
9 #include <mmdeviceapi.h> 9 #include <mmdeviceapi.h>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/threading/thread_checker.h"
14 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
15 #include "base/win/scoped_co_mem.h" 14 #include "base/win/scoped_co_mem.h"
16 #include "base/win/scoped_comptr.h" 15 #include "base/win/scoped_comptr.h"
17 #include "remoting/host/audio_capturer.h" 16 #include "remoting/host/audio_capturer.h"
18 #include "remoting/host/audio_silence_detector.h" 17 #include "remoting/host/audio_silence_detector.h"
19 #include "remoting/proto/audio.pb.h" 18 #include "remoting/proto/audio.pb.h"
20 19
21 namespace remoting { 20 namespace remoting {
22 21
23 class AudioCapturerWin : public AudioCapturer { 22 class AudioCapturerWin : public AudioCapturer {
(...skipping 28 matching lines...) Expand all
52 HRESULT last_capture_error_; 51 HRESULT last_capture_error_;
53 52
54 base::ThreadChecker thread_checker_; 53 base::ThreadChecker thread_checker_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin); 55 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin);
57 }; 56 };
58 57
59 } // namespace remoting 58 } // namespace remoting
60 59
61 #endif // REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ 60 #endif // REMOTING_HOST_AUDIO_CAPTURER_WIN_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.h ('k') | tools/valgrind/gtest_exclude/base_unittests.gtest.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698