| 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_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ |
| 7 | 7 |
| 8 #include "base/power_monitor/power_observer.h" | 8 #include "base/power_monitor/power_observer.h" |
| 9 #include "content/public/browser/browser_message_filter.h" | 9 #include "content/public/browser/browser_message_filter.h" |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void OnAddPeerConnection(const PeerConnectionInfo& info); | 43 void OnAddPeerConnection(const PeerConnectionInfo& info); |
| 44 void OnRemovePeerConnection(int lid); | 44 void OnRemovePeerConnection(int lid); |
| 45 void OnUpdatePeerConnection( | 45 void OnUpdatePeerConnection( |
| 46 int lid, const std::string& type, const std::string& value); | 46 int lid, const std::string& type, const std::string& value); |
| 47 void OnAddStats(int lid, const base::ListValue& value); | 47 void OnAddStats(int lid, const base::ListValue& value); |
| 48 void OnGetUserMedia(const std::string& origin, | 48 void OnGetUserMedia(const std::string& origin, |
| 49 bool audio, | 49 bool audio, |
| 50 bool video, | 50 bool video, |
| 51 const std::string& audio_constraints, | 51 const std::string& audio_constraints, |
| 52 const std::string& video_constraints); | 52 const std::string& video_constraints); |
| 53 void OnAddVideoStats(const std::string& video_id, |
| 54 float input_frame_rate, |
| 55 int number_of_dropped_frames); |
| 56 |
| 53 void SendOnSuspendOnUIThread(); | 57 void SendOnSuspendOnUIThread(); |
| 54 | 58 |
| 55 int render_process_id_; | 59 int render_process_id_; |
| 56 | 60 |
| 57 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTrackerHost); | 61 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTrackerHost); |
| 58 }; | 62 }; |
| 59 | 63 |
| 60 } // namespace content | 64 } // namespace content |
| 61 | 65 |
| 62 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ | 66 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_PEER_CONNECTION_TRACKER_HOST_H_ |
| OLD | NEW |