| OLD | NEW |
| 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 COMPONENTS_COPRESENCE_INTERFACE_WHISPERNET_CLIENT_H_ | 5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_WHISPERNET_CLIENT_H_ |
| 6 #define COMPONENTS_COPRESENCE_INTERFACE_WHISPERNET_CLIENT_H_ | 6 #define COMPONENTS_COPRESENCE_PUBLIC_WHISPERNET_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/ref_counted.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| 16 class AudioBusRefCounted; | 16 class AudioBusRefCounted; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace copresence { | 19 namespace copresence { |
| 20 | 20 |
| 21 // The interface that the whispernet client needs to implement. These methods | 21 // The interface that the whispernet client needs to implement. These methods |
| 22 // provide us the ability to use the audio medium in copresence. Currently since | 22 // provide us the ability to use the audio medium in copresence. Currently since |
| 23 // the only medium that copresence uses is audio, the implementation of this | 23 // the only medium that copresence uses is audio, the implementation of this |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual TokensCallback GetTokensCallback() = 0; | 60 virtual TokensCallback GetTokensCallback() = 0; |
| 61 virtual SamplesCallback GetSamplesCallback() = 0; | 61 virtual SamplesCallback GetSamplesCallback() = 0; |
| 62 virtual SuccessCallback GetDetectBroadcastCallback() = 0; | 62 virtual SuccessCallback GetDetectBroadcastCallback() = 0; |
| 63 virtual SuccessCallback GetInitializedCallback() = 0; | 63 virtual SuccessCallback GetInitializedCallback() = 0; |
| 64 | 64 |
| 65 virtual ~WhispernetClient() {}; | 65 virtual ~WhispernetClient() {}; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace copresence | 68 } // namespace copresence |
| 69 | 69 |
| 70 #endif // COMPONENTS_COPRESENCE_INTERFACE_WHISPERNET_CLIENT_H_ | 70 #endif // COMPONENTS_COPRESENCE_PUBLIC_WHISPERNET_CLIENT_H_ |
| OLD | NEW |