| 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_WEBRTC_WEBRTC_INTERNALS_H_ | 5 #ifndef CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_H_ |
| 6 #define CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_H_ | 6 #define CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 CallWithAudioDebugRecordingsEnabledThenDisabled); | 130 CallWithAudioDebugRecordingsEnabledThenDisabled); |
| 131 FRIEND_TEST_ALL_PREFIXES(WebRtcAudioDebugRecordingsBrowserTest, | 131 FRIEND_TEST_ALL_PREFIXES(WebRtcAudioDebugRecordingsBrowserTest, |
| 132 TwoCallsWithAudioDebugRecordings); | 132 TwoCallsWithAudioDebugRecordings); |
| 133 FRIEND_TEST_ALL_PREFIXES(WebRtcInternalsTest, | 133 FRIEND_TEST_ALL_PREFIXES(WebRtcInternalsTest, |
| 134 AudioDebugRecordingsFileSelectionCanceled); | 134 AudioDebugRecordingsFileSelectionCanceled); |
| 135 | 135 |
| 136 void SendUpdate(const char* command, | 136 void SendUpdate(const char* command, |
| 137 std::unique_ptr<base::Value> value); | 137 std::unique_ptr<base::Value> value); |
| 138 | 138 |
| 139 // RenderProcessHostObserver implementation. | 139 // RenderProcessHostObserver implementation. |
| 140 void RenderProcessHostDestroyed(RenderProcessHost* host) override; | 140 void RenderProcessExited(RenderProcessHost* host, |
| 141 base::TerminationStatus status, |
| 142 int exit_code) override; |
| 141 | 143 |
| 142 // ui::SelectFileDialog::Listener implementation. | 144 // ui::SelectFileDialog::Listener implementation. |
| 143 void FileSelected(const base::FilePath& path, | 145 void FileSelected(const base::FilePath& path, |
| 144 int index, | 146 int index, |
| 145 void* unused_params) override; | 147 void* unused_params) override; |
| 146 void FileSelectionCanceled(void* params) override; | 148 void FileSelectionCanceled(void* params) override; |
| 147 | 149 |
| 148 // Called when a renderer exits (including crashes). | 150 // Called when a renderer exits (including crashes). |
| 149 void OnRendererExit(int render_process_id); | 151 void OnRendererExit(int render_process_id); |
| 150 | 152 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 std::queue<PendingUpdate> pending_updates_; | 252 std::queue<PendingUpdate> pending_updates_; |
| 251 const int aggregate_updates_ms_; | 253 const int aggregate_updates_ms_; |
| 252 | 254 |
| 253 // Weak factory for this object that we use for bulking up updates. | 255 // Weak factory for this object that we use for bulking up updates. |
| 254 base::WeakPtrFactory<WebRTCInternals> weak_factory_; | 256 base::WeakPtrFactory<WebRTCInternals> weak_factory_; |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 } // namespace content | 259 } // namespace content |
| 258 | 260 |
| 259 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_H_ | 261 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_H_ |
| OLD | NEW |