#include "chrome/browser/notifications/notification_test_util.h"
#include "chrome/browser/ui/browser.h"
#include "url/origin.h"
StubNotificationUIManager::StubNotificationUIManager() { … }
StubNotificationUIManager::~StubNotificationUIManager() = default;
unsigned int StubNotificationUIManager::GetNotificationCount() const { … }
const message_center::Notification&
StubNotificationUIManager::GetNotificationAt(unsigned int index) const { … }
bool StubNotificationUIManager::SilentDismissById(
const std::string& delegate_id,
ProfileNotification::ProfileID profile_id) { … }
void StubNotificationUIManager::Add(
const message_center::Notification& notification,
Profile* profile) { … }
bool StubNotificationUIManager::Update(
const message_center::Notification& notification,
Profile* profile) { … }
const message_center::Notification* StubNotificationUIManager::FindById(
const std::string& delegate_id,
ProfileNotification::ProfileID profile_id) const { … }
bool StubNotificationUIManager::CancelById(
const std::string& delegate_id,
ProfileNotification::ProfileID profile_id) { … }
std::set<std::string> StubNotificationUIManager::GetAllIdsByProfile(
ProfileNotification::ProfileID profile_id) { … }
std::set<std::string> StubNotificationUIManager::GetAllIdsByProfileAndOrigin(
ProfileNotification::ProfileID profile_id,
const GURL& origin) { … }
bool StubNotificationUIManager::CancelAllBySourceOrigin(
const GURL& source_origin) { … }
void StubNotificationUIManager::CancelAll() { … }
void StubNotificationUIManager::StartShutdown() { … }