| Index: components/copresence/test/stub_whispernet_client.h | 
| diff --git a/components/copresence/test/stub_whispernet_client.h b/components/copresence/test/stub_whispernet_client.h | 
| index 6975e76ba215e47f787670907135275db3a99659..f4d3536602edabfc6d335a7b21c24fb9910d1467 100644 | 
| --- a/components/copresence/test/stub_whispernet_client.h | 
| +++ b/components/copresence/test/stub_whispernet_client.h | 
| @@ -5,6 +5,9 @@ | 
| #ifndef COMPONENTS_COPRESENCE_TEST_STUB_WHISPERNET_CLIENT_H_ | 
| #define COMPONENTS_COPRESENCE_TEST_STUB_WHISPERNET_CLIENT_H_ | 
|  | 
| +#include "base/callback.h" | 
| +#include "base/macros.h" | 
| + | 
| #include "components/copresence/public/whispernet_client.h" | 
|  | 
| namespace copresence { | 
| @@ -12,25 +15,30 @@ namespace copresence { | 
| // An empty WhispernetClient for testing. | 
| class StubWhispernetClient final : public WhispernetClient { | 
| public: | 
| -  StubWhispernetClient() {} | 
| +  StubWhispernetClient(); | 
| +  ~StubWhispernetClient() override; | 
|  | 
| -  void Initialize(const SuccessCallback& /* init_callback */) override {} | 
| +  void Initialize(const SuccessCallback& /* init_cb */) override {} | 
| void Shutdown() override {} | 
| -  void EncodeToken(const std::string& /* token */, AudioType /* type */) | 
| -      override {} | 
| -  void DecodeSamples(AudioType /* type */, const std::string& /* samples */) | 
| -      override {} | 
| +  void EncodeToken(const std::string& token, AudioType type) override; | 
| +  void DecodeSamples(AudioType type, const std::string& samples) override; | 
| void DetectBroadcast() override {} | 
| -  void RegisterTokensCallback( | 
| -      const TokensCallback& /* tokens_callback */) override {} | 
| -  void RegisterSamplesCallback( | 
| -      const SamplesCallback& /* samples_callback */) override {} | 
| +  void RegisterTokensCallback(const TokensCallback& tokens_cb) override; | 
| +  void RegisterSamplesCallback(const SamplesCallback& samples_cb) override; | 
| void RegisterDetectBroadcastCallback( | 
| -      const SuccessCallback& /* db_callback */) override {} | 
| +      const SuccessCallback& /* db_cb */) override {} | 
| TokensCallback GetTokensCallback() override; | 
| SamplesCallback GetSamplesCallback() override; | 
| SuccessCallback GetDetectBroadcastCallback() override; | 
| SuccessCallback GetInitializedCallback() override; | 
| + | 
| + private: | 
| +  TokensCallback tokens_cb_; | 
| +  SamplesCallback samples_cb_; | 
| +  std::vector<AudioToken> tokens_; | 
| +  scoped_refptr<media::AudioBusRefCounted> samples_; | 
| + | 
| +  DISALLOW_COPY_AND_ASSIGN(StubWhispernetClient); | 
| }; | 
|  | 
| }  // namespace copresence | 
|  |