| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ | 5 #ifndef CONTENT_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ |
| 6 #define CONTENT_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ | 6 #define CONTENT_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class WebRtcLogMessageDelegate; | 12 class WebRtcLogMessageDelegate; |
| 13 | 13 |
| 14 // Must be called on IO thread. | |
| 15 void InitWebRtcLogging(const std::string& app_session_id, | |
| 16 const std::string& app_url); | |
| 17 | |
| 18 // May be called on any thread. | 14 // May be called on any thread. |
| 19 void WebRtcLogMessage(const std::string& message); | 15 void WebRtcLogMessage(const std::string& message); |
| 20 | 16 |
| 21 } // namespace content | 17 } // namespace content |
| 22 | 18 |
| 23 #endif // CONTENT_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ | 19 #endif // CONTENT_RENDERER_WEBRTC_LOGGING_INITIALIZER_H_ |
| OLD | NEW |