diff options
Diffstat (limited to 'src/system_wrappers/source/data_log_no_op.cc')
-rw-r--r-- | src/system_wrappers/source/data_log_no_op.cc | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/src/system_wrappers/source/data_log_no_op.cc b/src/system_wrappers/source/data_log_no_op.cc new file mode 100644 index 0000000000..bedc82a59c --- /dev/null +++ b/src/system_wrappers/source/data_log_no_op.cc @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#include "data_log.h" + +#include <string> + +namespace webrtc { + +int DataLog::CreateLog() { + return 0; +} + +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*/) { + return 0; +} + +int DataLog::AddColumn(const std::string& /*table_name*/, + const std::string& /*column_name*/, + int /*multi_value_length*/) { + return 0; +} + +int DataLog::NextRow(const std::string& /*table_name*/) { + return 0; +} + +DataLogImpl::DataLogImpl() { +} + +DataLogImpl::~DataLogImpl() { +} + +DataLogImpl* DataLogImpl::StaticInstance() { + return NULL; +} + +void DataLogImpl::ReturnLog() { +} + +int DataLogImpl::AddTable(const std::string& /*table_name*/) { + return 0; +} + +int DataLogImpl::AddColumn(const std::string& /*table_name*/, + const std::string& /*column_name*/, + int /*multi_value_length*/) { + return 0; +} + +int DataLogImpl::InsertCell(const std::string& /*table_name*/, + const std::string& /*column_name*/, + const Container* /*value_container*/) { + return 0; +} + +int DataLogImpl::NextRow(const std::string& /*table_name*/) { + return 0; +} + +void DataLogImpl::Flush() { +} + +bool DataLogImpl::Run(void* /*obj*/) { + return true; +} + +void DataLogImpl::Process() { +} + +void DataLogImpl::StopThread() { +} + +} // namespace webrtc |