blob: 03dc933b24f867b5e353462329fd790b6c01b6c5 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/chrome_cleaner/os/disk_util_types.h"
namespace chrome_cleaner {
namespace internal {
FileInformation::FileInformation() = default;
FileInformation::FileInformation(const std::wstring& path,
const std::string& creation_date,
const std::string& last_modified_date,
const std::string& sha256,
int64_t size,
const std::wstring& company_name,
const std::wstring& company_short_name,
const std::wstring& product_name,
const std::wstring& product_short_name,
const std::wstring& internal_name,
const std::wstring& original_filename,
const std::wstring& file_description,
const std::wstring& file_version,
bool active_file)
: path(path),
creation_date(creation_date),
last_modified_date(last_modified_date),
sha256(sha256),
size(size),
company_name(company_name),
company_short_name(company_short_name),
product_name(product_name),
product_short_name(product_short_name),
internal_name(internal_name),
original_filename(original_filename),
file_description(file_description),
file_version(file_version),
active_file(active_file) {}
FileInformation::FileInformation(const FileInformation& other) = default;
FileInformation::~FileInformation() = default;
FileInformation& FileInformation::operator=(const FileInformation& other) =
default;
} // namespace internal
} // namespace chrome_cleaner