chromium/components/content_capture/browser/content_capture_frame.h

// Copyright 2021 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_CONTENT_CAPTURE_BROWSER_CONTENT_CAPTURE_FRAME_H_
#define COMPONENTS_CONTENT_CAPTURE_BROWSER_CONTENT_CAPTURE_FRAME_H_

#include "components/content_capture/common/content_capture_data.h"

namespace content_capture {

// This struct defines a captured frame in the browser side, its children are
// the captured content if available. It is also used to represent the frame
// hierarchy in ContentCaptureSession.
struct ContentCaptureFrame {};

// This defines a session, is a list of frames from current frame to root.
// This represents the frame hierarchy, starting from the current frame to the
// root frame, in the upward order. Note that ContentCaptureFrame here can only
// have URL as value, and no ContentCaptureFrame has children in it.
ContentCaptureSession;

}  // namespace content_capture

#endif  // COMPONENTS_CONTENT_CAPTURE_BROWSER_CONTENT_CAPTURE_FRAME_H_