chromium/chrome/browser/enterprise/reporting/extension_request/extension_request_observer.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/enterprise/reporting/extension_request/extension_request_observer.h"

#include "base/metrics/histogram_functions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "extensions/common/extension_urls.h"

namespace enterprise_reporting {
namespace {

constexpr char kPendingListUpdateMetricsName[] =;
enum class PendlingListUpdateMetricEvent {};

}  // namespace

ExtensionRequestObserver::ExtensionRequestObserver(Profile* profile)
    :{}

ExtensionRequestObserver::~ExtensionRequestObserver() {}

bool ExtensionRequestObserver::IsReportEnabled() {}

void ExtensionRequestObserver::EnableReport(ReportTrigger trigger) {}

void ExtensionRequestObserver::DisableReport() {}

void ExtensionRequestObserver::OnExtensionManagementSettingsChanged() {}

void ExtensionRequestObserver::OnPendingListChanged() {}

void ExtensionRequestObserver::ShowAllNotifications() {}

void ExtensionRequestObserver::ShowNotification(
    ExtensionRequestNotification::NotifyType type) {}

void ExtensionRequestObserver::CloseAllNotifications() {}

void ExtensionRequestObserver::OnNotificationClosed(
    std::vector<std::string>&& extension_ids,
    bool by_user) {}

void ExtensionRequestObserver::RemoveExtensionsFromPendingList(
    const std::vector<std::string>& extension_ids) {}

}  // namespace enterprise_reporting