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

Side by Side Diff: remoting/client/audio_decode_scheduler.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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
« no previous file with comments | « remoting/client/audio_decode_scheduler.h ('k') | remoting/client/audio_player.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "remoting/client/audio_decode_scheduler.h" 5 #include "remoting/client/audio_decode_scheduler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
10 #include "remoting/client/audio_player.h" 11 #include "remoting/client/audio_player.h"
11 #include "remoting/codec/audio_decoder.h" 12 #include "remoting/codec/audio_decoder.h"
12 #include "remoting/proto/audio.pb.h" 13 #include "remoting/proto/audio.pb.h"
13 14
14 namespace remoting { 15 namespace remoting {
15 16
16 class AudioDecodeScheduler::Core : public base::RefCountedThreadSafe<Core> { 17 class AudioDecodeScheduler::Core : public base::RefCountedThreadSafe<Core> {
17 public: 18 public:
18 Core(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 19 Core(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void AudioDecodeScheduler::Initialize(const protocol::SessionConfig& config) { 115 void AudioDecodeScheduler::Initialize(const protocol::SessionConfig& config) {
115 core_->Initialize(config); 116 core_->Initialize(config);
116 } 117 }
117 118
118 void AudioDecodeScheduler::ProcessAudioPacket(scoped_ptr<AudioPacket> packet, 119 void AudioDecodeScheduler::ProcessAudioPacket(scoped_ptr<AudioPacket> packet,
119 const base::Closure& done) { 120 const base::Closure& done) {
120 core_->ProcessAudioPacket(packet.Pass(), done); 121 core_->ProcessAudioPacket(packet.Pass(), done);
121 } 122 }
122 123
123 } // namespace remoting 124 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/audio_decode_scheduler.h ('k') | remoting/client/audio_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698