Add dummy implementation of DataLog::Combine method

The dummy implementations of class methods are needed when
building without support for data logging (i.e., when
enable_data_logging != 1). The Combine method was missing
from data_log_dummy.cc.

Review URL: http://webrtc-codereview.appspot.com/220003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@724 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2011-10-11 14:43:41 +00:00
parent 791eec7424
commit 26c9ff983e

View File

@ -10,6 +10,8 @@
#include "data_log.h" #include "data_log.h"
#include <string>
namespace webrtc { namespace webrtc {
int DataLog::CreateLog() { int DataLog::CreateLog() {
@ -19,6 +21,10 @@ int DataLog::CreateLog() {
void DataLog::ReturnLog() { void DataLog::ReturnLog() {
} }
std::string DataLog::Combine(const std::string& table_name, int table_id) {
return std::string();
}
int DataLog::AddTable(const std::string& /*table_name*/) { int DataLog::AddTable(const std::string& /*table_name*/) {
return 0; return 0;
} }