// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_OFFLINE_PAGES_CORE_MODEL_OFFLINE_PAGE_UPGRADE_TYPES_H_ #define COMPONENTS_OFFLINE_PAGES_CORE_MODEL_OFFLINE_PAGE_UPGRADE_TYPES_H_ #include <string> #include "base/files/file_path.h" #include "base/functional/callback_forward.h" namespace offline_pages { // Enumeration of possible results for starting the upgrade process. enum class StartUpgradeStatus { … }; // Result of starting the upgrade. struct StartUpgradeResult { … }; // Callback delivering results of starting the upgrade. StartUpgradeCallback; // Enumeration of possible statuses of upgrade process completion. enum class CompleteUpgradeStatus { … }; // Callback for completing the upgrade. CompleteUpgradeCallback; } // namespace offline_pages #endif // COMPONENTS_OFFLINE_PAGES_CORE_MODEL_OFFLINE_PAGE_UPGRADE_TYPES_H_