chromium/components/viz/client/shared_bitmap_reporter.h

// Copyright 2018 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_VIZ_CLIENT_SHARED_BITMAP_REPORTER_H_
#define COMPONENTS_VIZ_CLIENT_SHARED_BITMAP_REPORTER_H_

#include "base/memory/read_only_shared_memory_region.h"
#include "components/viz/client/viz_client_export.h"
#include "components/viz/common/resources/shared_bitmap.h"

namespace viz {

// An interface that can be used for code without a direct connection to the viz
// display compositor, as an intermediary in order to notify the display
// compositor about SharedMemory allocated for shared bitmaps. The
// implementation of this interface would be responsible to passing the
// notifications on to the display compositor via the CompositorFrameSink.
class VIZ_CLIENT_EXPORT SharedBitmapReporter {};

}  // namespace viz

#endif  // COMPONENTS_VIZ_CLIENT_SHARED_BITMAP_REPORTER_H_