browser_context_keyed_service_factories.h 780 B

123456789101112131415161718192021222324
  1. // Copyright 2014 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 APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
  5. #define APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
  6. namespace content {
  7. class BrowserContext;
  8. }
  9. namespace apps {
  10. // Ensures the existence of any BrowserContextKeyedServiceFactory provided by
  11. // the core apps code.
  12. void EnsureBrowserContextKeyedServiceFactoriesBuilt();
  13. // Notifies the relevant BrowserContextKeyedServices for the browser context
  14. // that the application is being terminated.
  15. void NotifyApplicationTerminating(content::BrowserContext* browser_context);
  16. } // namespace apps
  17. #endif // APPS_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_