chromium/chrome/browser/notifications/notification_interactive_uitest_support.cc

// Copyright 2017 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/notifications/notification_interactive_uitest_support.h"

#include <vector>

#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/notifications/notification_permission_context.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/chrome_features.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/permissions/features.h"
#include "components/permissions/permission_request_manager.h"
#include "components/permissions/test/permission_request_observer.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "ui/message_center/message_center.h"
#include "ui/message_center/message_center_observer.h"

class MessageCenterChangeObserver::Impl
    : public message_center::MessageCenterObserver {};

MessageCenterChangeObserver::MessageCenterChangeObserver() :{}

MessageCenterChangeObserver::~MessageCenterChangeObserver() = default;

bool MessageCenterChangeObserver::Wait() {}

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

const std::string& TestMessageCenterObserver::last_displayed_id() const {}

NotificationsTest::NotificationsTest() {}

int NotificationsTest::GetNotificationCount() {}

int NotificationsTest::GetNotificationPopupCount() {}

void NotificationsTest::CrashTab(Browser* browser, int index) {}

void NotificationsTest::DenyOrigin(const GURL& origin) {}

void NotificationsTest::AllowOrigin(const GURL& origin) {}

void NotificationsTest::AllowAllOrigins() {}

void NotificationsTest::SetDefaultContentSetting(ContentSetting setting) {}

std::string NotificationsTest::CreateNotification(Browser* browser,
                                                  bool wait_for_new_balloon,
                                                  const char* icon,
                                                  const char* title,
                                                  const char* body,
                                                  const char* replace_id,
                                                  const char* onclick) {}

std::string NotificationsTest::CreateSimpleNotification(
    Browser* browser,
    bool wait_for_new_balloon) {}

std::string NotificationsTest::RequestAndRespondToPermission(
    Browser* browser,
    permissions::PermissionRequestManager::AutoResponseType bubble_response) {}

bool NotificationsTest::RequestAndAcceptPermission(Browser* browser) {}

bool NotificationsTest::RequestAndDenyPermission(Browser* browser) {}

bool NotificationsTest::RequestAndDismissPermission(Browser* browser) {}

bool NotificationsTest::RequestPermissionAndWait(Browser* browser) {}

std::string NotificationsTest::QueryPermissionStatus(Browser* browser) {}

bool NotificationsTest::CancelNotification(const char* notification_id,
                                           Browser* browser) {}

void NotificationsTest::GetDisabledContentSettings(
    ContentSettingsForOneType* settings) {}

bool NotificationsTest::CheckOriginInSetting(
    const ContentSettingsForOneType& settings,
    const GURL& origin) {}

GURL NotificationsTest::GetTestPageURLForFile(const std::string& file) const {}

GURL NotificationsTest::GetTestPageURL() const {}

content::WebContents* NotificationsTest::GetActiveWebContents(
    Browser* browser) {}

NotificationsTestWithPermissionsEmbargo ::
    NotificationsTestWithPermissionsEmbargo() {}