chromium/chrome/browser/ui/views/profiles/profile_picker_web_contents_host.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 CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_PICKER_WEB_CONTENTS_HOST_H_
#define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_PICKER_WEB_CONTENTS_HOST_H_

#include "base/functional/callback.h"
#include "base/types/strong_alias.h"
#include "components/signin/public/base/signin_buildflags.h"
#include "components/web_modal/web_contents_modal_dialog_host.h"

#if BUILDFLAG(ENABLE_DICE_SUPPORT)
#include "ui/views/controls/webview/web_contents_set_background_color.h"
#endif

class GURL;

namespace content {
class WebContents;
class WebContentsDelegate;
}  // namespace content

namespace web_modal {
class WebContentsModalDialogHost;
}

// Type for a callback that is used to close the `ProfilePickerWebContentsHost`.
// It is the owner's responsibility to make sure that the issuing host is still
// alive and that the callback is valid, before running it.
ClearHostClosure;

// Class responsible for embedding a web contents in the profile picker and
// providing extra UI such as a back button.
class ProfilePickerWebContentsHost {};

#endif  // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_PICKER_WEB_CONTENTS_HOST_H_