chromium/chrome/browser/ash/file_system_provider/provided_file_system_interface.cc

// Copyright 2014 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/ash/file_system_provider/provided_file_system_interface.h"

namespace ash::file_system_provider {

CloudIdentifier::CloudIdentifier(const std::string& provider_name,
                                 const std::string& id)
    : provider_name(provider_name), id(id) {}

bool CloudIdentifier::operator==(const CloudIdentifier& other) const {
  return provider_name == other.provider_name && id == other.id;
}

EntryMetadata::EntryMetadata() = default;

EntryMetadata::~EntryMetadata() = default;

OpenedFile::OpenedFile(const base::FilePath& file_path, OpenFileMode mode)
    : file_path(file_path), mode(mode) {}

OpenedFile::OpenedFile() : mode(OPEN_FILE_MODE_READ) {
}

OpenedFile::~OpenedFile() = default;

ScopedUserInteraction::ScopedUserInteraction() = default;
ScopedUserInteraction::~ScopedUserInteraction() = default;
ScopedUserInteraction::ScopedUserInteraction(ScopedUserInteraction&&) = default;
ScopedUserInteraction& ScopedUserInteraction::operator=(
    ScopedUserInteraction&&) = default;

}  // namespace ash::file_system_provider