blob: 4a0b3d6ed18a98fe8863d5035c8bc82d0f942e16 [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.
#ifndef CHROMEOS_COMPONENTS_DRIVEFS_DRIVEFS_HOST_OBSERVER_H_
#define CHROMEOS_COMPONENTS_DRIVEFS_DRIVEFS_HOST_OBSERVER_H_
#include <vector>
namespace drivefs {
namespace mojom {
class DriveError;
class FileChange;
class SyncingStatus;
} // namespace mojom
class DriveFsHostObserver {
public:
virtual void OnUnmounted() {}
virtual void OnSyncingStatusUpdate(const mojom::SyncingStatus& status) {}
virtual void OnFilesChanged(const std::vector<mojom::FileChange>& changes) {}
virtual void OnError(const mojom::DriveError& error) {}
protected:
~DriveFsHostObserver() = default;
};
} // namespace drivefs
#endif // CHROMEOS_COMPONENTS_DRIVEFS_DRIVEFS_HOST_OBSERVER_H_