no_state_prefetch_processor_impl_delegate.h 888 B

123456789101112131415161718192021222324252627
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_DELEGATE_H_
  5. #define COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_DELEGATE_H_
  6. namespace content {
  7. class BrowserContext;
  8. }
  9. namespace prerender {
  10. class NoStatePrefetchLinkManager;
  11. class NoStatePrefetchProcessorImplDelegate {
  12. public:
  13. virtual ~NoStatePrefetchProcessorImplDelegate() = default;
  14. // Gets the NoStatePrefetchLinkManager associated with |browser_context|.
  15. virtual NoStatePrefetchLinkManager* GetNoStatePrefetchLinkManager(
  16. content::BrowserContext* browser_context) = 0;
  17. };
  18. } // namespace prerender
  19. #endif // COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_DELEGATE_H_