OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALS_H_ |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // |pid| is the renderer process id, |lid| is the renderer local id. | 27 // |pid| is the renderer process id, |lid| is the renderer local id. |
28 virtual void RemovePeerConnection(base::ProcessId pid, int lid) = 0; | 28 virtual void RemovePeerConnection(base::ProcessId pid, int lid) = 0; |
29 | 29 |
30 // This method is called when a PeerConnection is updated. | 30 // This method is called when a PeerConnection is updated. |
31 // |pid| is the renderer process id, |lid| is the renderer local id, | 31 // |pid| is the renderer process id, |lid| is the renderer local id, |
32 // |type| is the update type, |value| is the detail of the update. | 32 // |type| is the update type, |value| is the detail of the update. |
33 virtual void UpdatePeerConnection(base::ProcessId pid, | 33 virtual void UpdatePeerConnection(base::ProcessId pid, |
34 int lid, | 34 int lid, |
35 const std::string& type, | 35 const std::string& type, |
36 const std::string& value) = 0; | 36 const std::string& value) = 0; |
| 37 |
| 38 protected: |
| 39 virtual ~WebRTCInternals() { } |
37 }; | 40 }; |
38 | 41 |
39 } // namespace content | 42 } // namespace content |
40 | 43 |
41 #endif // CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALSH_ | 44 #endif // CONTENT_PUBLIC_BROWSER_WEBRTC_INTERNALSH_ |
OLD | NEW |