chromium/third_party/blink/renderer/modules/web_install/navigator_web_install.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEB_INSTALL_NAVIGATOR_WEB_INSTALL_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEB_INSTALL_NAVIGATOR_WEB_INSTALL_H_

#include "third_party/blink/public/mojom/web_install/web_install.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_web_install_result.h"
#include "third_party/blink/renderer/core/frame/navigator.h"
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/mojo/heap_mojo_remote.h"
#include "third_party/blink/renderer/platform/supplementable.h"

namespace blink {

class ScriptState;

// It is owned by Navigator, and an instance is created lazily by calling
// NavigatorWebInstall::From() via install().
class MODULES_EXPORT NavigatorWebInstall final
    : public GarbageCollected<NavigatorWebInstall>,
      public Supplement<Navigator> {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_MODULES_WEB_INSTALL_NAVIGATOR_WEB_INSTALL_H_