#include "chrome/browser/extensions/api/bookmarks/bookmarks_api_watcher.h"
#include "base/memory/singleton.h"
#include "base/observer_list.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
namespace extensions {
namespace {
class BookmarksApiWatcherFactory : public ProfileKeyedServiceFactory { … };
}
BookmarksApiWatcher::BookmarksApiWatcher() = default;
BookmarksApiWatcher::~BookmarksApiWatcher() = default;
BookmarksApiWatcher* BookmarksApiWatcher::GetForBrowserContext(
content::BrowserContext* browser_context) { … }
void BookmarksApiWatcher::AddObserver(Observer* observer) { … }
void BookmarksApiWatcher::RemoveObserver(Observer* observer) { … }
void BookmarksApiWatcher::NotifyApiInvoked(const ExtensionFunction* func) { … }
void BookmarksApiWatcher::EnsureFactoryBuilt() { … }
}