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

Side by Side Diff: content/browser/renderer_host/media/peer_connection_tracker_host.h

Issue 617093003: Add MediaStreamSource frame rate calculation to the tracker. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding type name. Fixing IPC type problem. Created 6 years, 2 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_internals.cc ('k') | content/browser/renderer_host/media/peer_connection_tracker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698