chromium/chrome/browser/extensions/activity_log/database_string_table.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/extensions/activity_log/database_string_table.h"

#include <stddef.h>

#include "base/strings/strcat.h"
#include "sql/database.h"
#include "sql/statement.h"

namespace extensions {

// A target maximum size (in number of entries) for the mapping tables.  If the
// cache would grow larger than this, the size should be reduced.
static const size_t kMaximumCacheSize =;

DatabaseStringTable::DatabaseStringTable(const std::string& table)
    :{}

DatabaseStringTable::~DatabaseStringTable() {}

bool DatabaseStringTable::Initialize(sql::Database* connection) {}

bool DatabaseStringTable::StringToInt(sql::Database* connection,
                                      const std::string& value,
                                      int64_t* id) {}

bool DatabaseStringTable::IntToString(sql::Database* connection,
                                      int64_t id,
                                      std::string* value) {}

void DatabaseStringTable::ClearCache() {}

void DatabaseStringTable::PruneCache() {}

}  // namespace extensions