chromium/chrome/browser/ui/views/device_signals_consent/consent_dialog_coordinator.cc

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

#include "chrome/browser/ui/views/device_signals_consent/consent_dialog_coordinator.h"

#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "base/no_destructor.h"
#include "chrome/browser/browser_features.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_window.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/managed_ui.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/device_signals/core/browser/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/controls/label.h"
#include "ui/views/widget/widget.h"

#if !BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ui/profiles/profile_picker.h"
#endif  // !BUILDFLAG(IS_CHROMEOS_ASH)

kDeviceSignalsConsentReceived;

namespace {
std::unique_ptr<ConsentRequester>* GetTestInstanceStorage() {}

ui::ImageModel GetIcon() {}

}  // namespace

std::unique_ptr<ui::DialogModel>
ConsentDialogCoordinator::CreateDeviceSignalsConsentDialogModel() {}

// static
std::unique_ptr<ConsentRequester> ConsentRequester::CreateConsentRequester(
    Profile* profile) {}

// static
void ConsentRequester::SetConsentRequesterForTest(
    std::unique_ptr<ConsentRequester> consent_requester) {}

ConsentDialogCoordinator::ConsentDialogCoordinator(Browser* browser,
                                                   Profile* profile)
    :{}

ConsentDialogCoordinator::~ConsentDialogCoordinator() {}

void ConsentDialogCoordinator::RequestConsent(RequestConsentCallback callback) {}

std::u16string ConsentDialogCoordinator::GetDialogBodyText() {}

void ConsentDialogCoordinator::Show() {}

void ConsentDialogCoordinator::OnConsentDialogAccept() {}

void ConsentDialogCoordinator::OnConsentDialogCancel() {}

void ConsentDialogCoordinator::OnConsentDialogClose() {}

void ConsentDialogCoordinator::OnConsentPreferenceUpdated(
    RequestConsentCallback callback) {}