chromium/ui/message_center/message_center_stats_collector.cc

// Copyright 2013 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "ui/message_center/message_center_stats_collector.h"

#include <stddef.h>

#include <string>

#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#include "base/not_fatal_until.h"
#include "ui/message_center/message_center.h"

namespace message_center {

MessageCenterStatsCollector::NotificationStats::NotificationStats() {}

MessageCenterStatsCollector::NotificationStats::NotificationStats(
    const std::string& id)
    :{}

MessageCenterStatsCollector::NotificationStats::~NotificationStats() {}

void MessageCenterStatsCollector::NotificationStats::CollectAction(
    NotificationActionType type) {}

void MessageCenterStatsCollector::NotificationStats::RecordAggregateStats() {}

void MessageCenterStatsCollector::RecordNotifierType(NotifierType type) {}

MessageCenterStatsCollector::MessageCenterStatsCollector(
    MessageCenter* message_center)
    :{}

MessageCenterStatsCollector::~MessageCenterStatsCollector() {}

void MessageCenterStatsCollector::OnNotificationAdded(
    const std::string& notification_id) {}

void MessageCenterStatsCollector::OnNotificationRemoved(
    const std::string& notification_id,
    bool by_user) {}

void MessageCenterStatsCollector::OnNotificationUpdated(
    const std::string& notification_id) {}

void MessageCenterStatsCollector::OnNotificationClicked(
    const std::string& notification_id,
    const std::optional<int>& button_index,
    const std::optional<std::u16string>& reply) {}

void MessageCenterStatsCollector::OnNotificationSettingsClicked(bool handled) {}

void MessageCenterStatsCollector::OnNotificationDisplayed(
    const std::string& notification_id,
    const DisplaySource source) {}

void MessageCenterStatsCollector::OnCenterVisibilityChanged(
    Visibility visibility) {}

void MessageCenterStatsCollector::OnQuietModeChanged(bool in_quiet_mode) {}

}  // namespace message_center