chromium/content/public/common/drop_data.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 "content/public/common/drop_data.h"

#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "net/base/filename_util.h"
#include "net/base/mime_util.h"

namespace content {

// static
DropData::Metadata DropData::Metadata::CreateForMimeType(
    Kind kind,
    const std::u16string& mime_type) {}

// static
DropData::Metadata DropData::Metadata::CreateForFilePath(
    const base::FilePath& filename) {}

// static
DropData::Metadata DropData::Metadata::CreateForFileSystemUrl(
    const GURL& file_system_url) {}

// static
DropData::Metadata DropData::Metadata::CreateForBinary(
    const GURL& file_contents_url) {}

DropData::Metadata::Metadata() = default;
DropData::Metadata::Metadata(const DropData::Metadata& other) = default;
DropData::Metadata::~Metadata() = default;

DropData::DropData() = default;
DropData::DropData(const DropData& other) = default;
DropData::~DropData() = default;

std::optional<base::FilePath> DropData::GetSafeFilenameForImageFileContents()
    const {}

// static
void DropData::FileSystemFileInfo::WriteFileSystemFilesToPickle(
    const std::vector<FileSystemFileInfo>& file_system_files,
    base::Pickle* pickle) {}

// static
bool DropData::FileSystemFileInfo::ReadFileSystemFilesFromPickle(
    const base::Pickle& pickle,
    std::vector<FileSystemFileInfo>* file_system_files) {}

}  // namespace content