chromium/chrome/browser/preloading/prefetch/no_state_prefetch/no_state_prefetch_manager_factory.h

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_PRELOADING_PREFETCH_NO_STATE_PREFETCH_NO_STATE_PREFETCH_MANAGER_FACTORY_H_
#define CHROME_BROWSER_PRELOADING_PREFETCH_NO_STATE_PREFETCH_NO_STATE_PREFETCH_MANAGER_FACTORY_H_

#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"

namespace content {
class BrowserContext;
}

class Profile;

namespace prerender {

class NoStatePrefetchManager;

// Singleton that owns all NoStatePrefetchManagers and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated NoStatePrefetchManager.
class NoStatePrefetchManagerFactory : public ProfileKeyedServiceFactory {};

}  // namespace prerender

#endif  // CHROME_BROWSER_PRELOADING_PREFETCH_NO_STATE_PREFETCH_NO_STATE_PREFETCH_MANAGER_FACTORY_H_