OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/copresence/test/stub_whispernet_client.h" | 5 #include "components/audio_modem/test/stub_whispernet_client.h" |
6 | 6 |
7 namespace copresence { | 7 namespace audio_modem { |
8 | 8 |
9 StubWhispernetClient::StubWhispernetClient( | 9 StubWhispernetClient::StubWhispernetClient( |
10 scoped_refptr<media::AudioBusRefCounted> samples, | 10 scoped_refptr<media::AudioBusRefCounted> samples, |
11 const std::vector<AudioToken>& tokens) | 11 const std::vector<AudioToken>& tokens) |
12 : samples_(samples), | 12 : samples_(samples), |
13 tokens_(tokens) { | 13 tokens_(tokens) { |
14 } | 14 } |
15 | 15 |
16 StubWhispernetClient::~StubWhispernetClient() {} | 16 StubWhispernetClient::~StubWhispernetClient() {} |
17 | 17 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 } | 49 } |
50 | 50 |
51 SuccessCallback StubWhispernetClient::GetDetectBroadcastCallback() { | 51 SuccessCallback StubWhispernetClient::GetDetectBroadcastCallback() { |
52 return SuccessCallback(); | 52 return SuccessCallback(); |
53 } | 53 } |
54 | 54 |
55 SuccessCallback StubWhispernetClient::GetInitializedCallback() { | 55 SuccessCallback StubWhispernetClient::GetInitializedCallback() { |
56 return SuccessCallback(); | 56 return SuccessCallback(); |
57 } | 57 } |
58 | 58 |
59 } // namespace copresence | 59 } // namespace audio_modem |
OLD | NEW |