chromium/content/browser/indexed_db/file_path_util.cc

// Copyright 2024 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/file_path_util.h"

#include <inttypes.h>

#include "base/files/file_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/stringprintf.h"
#include "components/services/storage/public/cpp/buckets/bucket_locator.h"
#include "storage/common/database/database_identifier.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"

namespace content {
namespace indexed_db {

namespace {
constexpr base::FilePath::CharType kBlobExtension[] =);
}  // namespace

const base::FilePath::CharType kLevelDBExtension[] =);
const base::FilePath::CharType kIndexedDBExtension[] =);
const base::FilePath::CharType kIndexedDBFile[] =);

bool ShouldUseLegacyFilePath(const storage::BucketLocator& bucket_locator) {}

base::FilePath GetBlobStoreFileName(
    const storage::BucketLocator& bucket_locator) {}

base::FilePath GetLevelDBFileName(
    const storage::BucketLocator& bucket_locator) {}

base::FilePath GetBlobDirectoryName(const base::FilePath& path_base,
                                    int64_t database_id) {}

base::FilePath GetBlobDirectoryNameForKey(const base::FilePath& path_base,
                                          int64_t database_id,
                                          int64_t blob_number) {}

base::FilePath GetBlobFileNameForKey(const base::FilePath& path_base,
                                     int64_t database_id,
                                     int64_t blob_number) {}

bool IsPathTooLong(const base::FilePath& leveldb_dir) {}

}  // namespace indexed_db
}  // namespace content