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

Side by Side Diff: content/browser/media/webrtc/webrtc_internals.h

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added limit to number of log files and the size of the log files. Created 4 years, 8 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_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_ 6 #define CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // For managing select file dialog. 189 // For managing select file dialog.
190 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; 190 scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
191 191
192 // Diagnostic audio recording state. 192 // Diagnostic audio recording state.
193 bool audio_debug_recordings_; 193 bool audio_debug_recordings_;
194 base::FilePath audio_debug_recordings_file_path_; 194 base::FilePath audio_debug_recordings_file_path_;
195 195
196 // Diagnostic event log recording state. 196 // Diagnostic event log recording state.
197 bool event_log_recordings_; 197 bool event_log_recordings_;
198 bool selecting_event_log_; 198 bool selecting_event_log_;
199 int nr_event_log_files_;
dcheng 2016/04/04 21:44:57 int number_event_log_files_; or int event_log_fi
Ivo-OOO until feb 6 2016/04/05 08:59:27 okay, done :)
199 base::FilePath event_log_recordings_file_path_; 200 base::FilePath event_log_recordings_file_path_;
200 201
201 // While |peer_connection_data_| is non-empty, hold an instance of 202 // While |peer_connection_data_| is non-empty, hold an instance of
202 // PowerSaveBlocker. This prevents the application from being suspended while 203 // PowerSaveBlocker. This prevents the application from being suspended while
203 // remoting. 204 // remoting.
204 scoped_ptr<PowerSaveBlocker> power_save_blocker_; 205 scoped_ptr<PowerSaveBlocker> power_save_blocker_;
205 206
206 // Set of render process hosts that |this| is registered as an observer on. 207 // Set of render process hosts that |this| is registered as an observer on.
207 base::hash_set<int> render_process_id_set_; 208 base::hash_set<int> render_process_id_set_;
208 209
(...skipping 24 matching lines...) Expand all
233 std::queue<PendingUpdate> pending_updates_; 234 std::queue<PendingUpdate> pending_updates_;
234 const int aggregate_updates_ms_; 235 const int aggregate_updates_ms_;
235 236
236 // Weak factory for this object that we use for bulking up updates. 237 // Weak factory for this object that we use for bulking up updates.
237 base::WeakPtrFactory<WebRTCInternals> weak_factory_; 238 base::WeakPtrFactory<WebRTCInternals> weak_factory_;
238 }; 239 };
239 240
240 } // namespace content 241 } // namespace content
241 242
242 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_ 243 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_INTERNALS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/media/webrtc/webrtc_internals.cc » ('j') | content/browser/media/webrtc/webrtc_internals.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698