aw: Ensure fallback tick unsets |block_invalidates_|
[chromium-blink-merge.git] / content / renderer / media / webrtc_logging.h
blob0aafa9cc7d55db51acd049ca93d50460b5c2e1ac
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_WEBRTC_LOGGING_H_
6 #define CONTENT_RENDERER_WEBRTC_LOGGING_H_
8 #include <string>
10 namespace content {
12 // This function will add |message| to the diagnostic WebRTC log, if started.
13 // Otherwise it will be ignored. Note that this log may be uploaded to a
14 // server by the embedder - no sensitive information should be logged. May be
15 // called on any thread.
16 // TODO(grunell): Create a macro for adding log messages. Messages should
17 // probably also go to the ordinary logging stream.
18 void WebRtcLogMessage(const std::string& message);
20 } // namespace content
22 #endif // CONTENT_RENDERER_WEBRTC_LOGGING_H_