blob: 046ccde7f27c820f446173801d19bb888512a2d5 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DIAGNOSTICS_CROS_HEALTHD_FETCHERS_TIMEZONE_FETCHER_H_
#define DIAGNOSTICS_CROS_HEALTHD_FETCHERS_TIMEZONE_FETCHER_H_
#include <base/files/file_path.h>
#include "mojo/cros_healthd_probe.mojom.h"
namespace diagnostics {
// Returns a structure with either the device's timezone data or the error that
// occurred fetching the information.
chromeos::cros_healthd::mojom::TimezoneResultPtr FetchTimezoneInfo(
const base::FilePath& root_dir);
} // namespace diagnostics
#endif // DIAGNOSTICS_CROS_HEALTHD_FETCHERS_TIMEZONE_FETCHER_H_