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

Side by Side Diff: components/copresence/public/whispernet_client.h

Issue 438513002: Add the whispernet proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 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_INTERFACE_WHISPERNET_CLIENT_H_
6 #define COMPONENTS_COPRESENCE_INTERFACE_WHISPERNET_CLIENT_H_ 6 #define COMPONENTS_COPRESENCE_INTERFACE_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_INTERFACE_WHISPERNET_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698