#include "base/memory/raw_ptr.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/profiles/profile.h"
#include "base/check.h"
#include "base/scoped_observation.h"
#include "chrome/browser/notifications/notifier_state_tracker.h"
#include "chrome/browser/notifications/notifier_state_tracker_factory.h"
#include "content/public/test/browser_test.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_registry_observer.h"
#include "ui/message_center/public/cpp/notifier_id.h"
Extension;
ExtensionRegistry;
ExtensionRegistryObserver;
namespace {
class ExtensionPermissionUpdater : public ExtensionRegistryObserver { … };
NotificationPermissionContextApiTest;
IN_PROC_BROWSER_TEST_F(NotificationPermissionContextApiTest, Granted) { … }
IN_PROC_BROWSER_TEST_F(NotificationPermissionContextApiTest, Denied) { … }
}