chromium/content/browser/indexed_db/indexed_db_reporting.cc

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

#include "content/browser/indexed_db/indexed_db_reporting.h"

#include <string>

#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
#include "content/browser/indexed_db/indexed_db_leveldb_coding.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/leveldatabase/env_chromium.h"

namespace content {
namespace indexed_db {

namespace {

std::string BucketLocatorToCustomHistogramSuffix(
    const storage::BucketLocator& bucket_locator) {}

void ParseAndReportIOErrorDetails(const std::string& histogram_name,
                                  const leveldb::Status& s) {}

void ParseAndReportCorruptionDetails(const std::string& histogram_name,
                                     const leveldb::Status& status) {}

}  // namespace

void ReportOpenStatus(IndexedDBBackingStoreOpenResult result,
                      const storage::BucketLocator& bucket_locator) {}

void ReportInternalError(const char* type,
                         IndexedDBBackingStoreErrorSource location) {}

void ReportLevelDBError(const std::string& histogram_name,
                        const leveldb::Status& s) {}

}  // namespace indexed_db
}  // namespace content