#include "chrome/browser/web_applications/web_install_service_impl.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/web_app_utils.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/mojom/web_install/web_install.mojom.h"
#include "url/gurl.h"
namespace web_app {
WebInstallServiceImpl::WebInstallServiceImpl(
content::RenderFrameHost& render_frame_host,
mojo::PendingReceiver<blink::mojom::WebInstallService> receiver)
: … { … }
WebInstallServiceImpl::~WebInstallServiceImpl() = default;
void WebInstallServiceImpl::CreateIfAllowed(
content::RenderFrameHost* render_frame_host,
mojo::PendingReceiver<blink::mojom::WebInstallService> receiver) { … }
void WebInstallServiceImpl::InstallCurrentDocument(
const GURL& manifest_id,
InstallCurrentDocumentCallback callback) { … }
void WebInstallServiceImpl::InstallBackgroundDocument(
const GURL& manifest_id,
const GURL& install_url,
InstallBackgroundDocumentCallback callback) { … }
}