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. 4 5#ifndef CONTENT_RENDERER_WEBRTC_LOGGING_H_ 6#define CONTENT_RENDERER_WEBRTC_LOGGING_H_ 7 8#include <string> 9 10namespace content { 11 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. 18void WebRtcLogMessage(const std::string& message); 19 20} // namespace content 21 22#endif // CONTENT_RENDERER_WEBRTC_LOGGING_H_ 23