| 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_MEDIA_WEBRTC_INTERNALS_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_H_ |
| 6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_H_ | 6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 AecRecordingFileSelectionCanceled); | 111 AecRecordingFileSelectionCanceled); |
| 112 | 112 |
| 113 WebRTCInternals(); | 113 WebRTCInternals(); |
| 114 virtual ~WebRTCInternals(); | 114 virtual ~WebRTCInternals(); |
| 115 | 115 |
| 116 void SendUpdate(const std::string& command, base::Value* value); | 116 void SendUpdate(const std::string& command, base::Value* value); |
| 117 | 117 |
| 118 // NotificationObserver implementation. | 118 // NotificationObserver implementation. |
| 119 virtual void Observe(int type, | 119 virtual void Observe(int type, |
| 120 const NotificationSource& source, | 120 const NotificationSource& source, |
| 121 const NotificationDetails& details) OVERRIDE; | 121 const NotificationDetails& details) override; |
| 122 | 122 |
| 123 // ui::SelectFileDialog::Listener implementation. | 123 // ui::SelectFileDialog::Listener implementation. |
| 124 virtual void FileSelected(const base::FilePath& path, | 124 virtual void FileSelected(const base::FilePath& path, |
| 125 int index, | 125 int index, |
| 126 void* unused_params) OVERRIDE; | 126 void* unused_params) override; |
| 127 virtual void FileSelectionCanceled(void* params) OVERRIDE; | 127 virtual void FileSelectionCanceled(void* params) override; |
| 128 | 128 |
| 129 // Called when a renderer exits (including crashes). | 129 // Called when a renderer exits (including crashes). |
| 130 void OnRendererExit(int render_process_id); | 130 void OnRendererExit(int render_process_id); |
| 131 | 131 |
| 132 #if defined(ENABLE_WEBRTC) | 132 #if defined(ENABLE_WEBRTC) |
| 133 // Enables AEC dump on all render process hosts using |aec_dump_file_path_|. | 133 // Enables AEC dump on all render process hosts using |aec_dump_file_path_|. |
| 134 void EnableAecDumpOnAllRenderProcessHosts(); | 134 void EnableAecDumpOnAllRenderProcessHosts(); |
| 135 #endif | 135 #endif |
| 136 | 136 |
| 137 // Called whenever an element is added to or removed from | 137 // Called whenever an element is added to or removed from |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 // While |peer_connection_data_| is non-empty, hold an instance of | 178 // While |peer_connection_data_| is non-empty, hold an instance of |
| 179 // PowerSaveBlocker. This prevents the application from being suspended while | 179 // PowerSaveBlocker. This prevents the application from being suspended while |
| 180 // remoting. | 180 // remoting. |
| 181 scoped_ptr<PowerSaveBlocker> power_save_blocker_; | 181 scoped_ptr<PowerSaveBlocker> power_save_blocker_; |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 } // namespace content | 184 } // namespace content |
| 185 | 185 |
| 186 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_H_ | 186 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_H_ |
| OLD | NEW |