1 /* 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #include "webrtc/system_wrappers/include/data_log.h" 12 13 #include <string> 14 15 namespace webrtc { 16 17 int DataLog::CreateLog() { 18 return 0; 19 } 20 21 void DataLog::ReturnLog() { 22 } 23 24 std::string DataLog::Combine(const std::string& table_name, int table_id) { 25 return std::string(); 26 } 27 28 int DataLog::AddTable(const std::string& /*table_name*/) { 29 return 0; 30 } 31 32 int DataLog::AddColumn(const std::string& /*table_name*/, 33 const std::string& /*column_name*/, 34 int /*multi_value_length*/) { 35 return 0; 36 } 37 38 int DataLog::NextRow(const std::string& /*table_name*/) { 39 return 0; 40 } 41 42 DataLogImpl::DataLogImpl() { 43 } 44 45 DataLogImpl::~DataLogImpl() { 46 } 47 48 DataLogImpl* DataLogImpl::StaticInstance() { 49 return NULL; 50 } 51 52 void DataLogImpl::ReturnLog() { 53 } 54 55 int DataLogImpl::AddTable(const std::string& /*table_name*/) { 56 return 0; 57 } 58 59 int DataLogImpl::AddColumn(const std::string& /*table_name*/, 60 const std::string& /*column_name*/, 61 int /*multi_value_length*/) { 62 return 0; 63 } 64 65 int DataLogImpl::InsertCell(const std::string& /*table_name*/, 66 const std::string& /*column_name*/, 67 const Container* /*value_container*/) { 68 return 0; 69 } 70 71 int DataLogImpl::NextRow(const std::string& /*table_name*/) { 72 return 0; 73 } 74 75 void DataLogImpl::Flush() { 76 } 77 78 bool DataLogImpl::Run(void* /*obj*/) { 79 return true; 80 } 81 82 void DataLogImpl::Process() { 83 } 84 85 void DataLogImpl::StopThread() { 86 } 87 88 } // namespace webrtc 89