blob: 9a8fa257bb1f400afb318541e9c31a1b25173dc0 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2015 The Chromium Authors
peterc4007912015-07-31 21:13:372// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_FACTORY_H_
6#define CHROME_BROWSER_NOTIFICATIONS_NOTIFIER_STATE_TRACKER_FACTORY_H_
7
Mikel Astiz5c30d002023-06-02 17:00:508#include "base/no_destructor.h"
Ryan Sultanem33ff6fb2022-08-16 09:38:389#include "chrome/browser/profiles/profile_keyed_service_factory.h"
peterc4007912015-07-31 21:13:3710
11class NotifierStateTracker;
12class Profile;
13
Ryan Sultanem33ff6fb2022-08-16 09:38:3814class NotifierStateTrackerFactory : public ProfileKeyedServiceFactory {
peterc4007912015-07-31 21:13:3715 public:
16 static NotifierStateTracker* GetForProfile(Profile* profile);
17 static NotifierStateTrackerFactory* GetInstance();
18
19 private:
Mikel Astiz5c30d002023-06-02 17:00:5020 friend base::NoDestructor<NotifierStateTrackerFactory>;
peterc4007912015-07-31 21:13:3721
22 NotifierStateTrackerFactory();
Sundoo Kimdd91d952020-08-26 17:11:20