• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
2 // reserved. Use of this source code is governed by a BSD-style license that
3 // can be found in the LICENSE file.
4 
5 #ifndef CEF_LIBCEF_DLL_SHUTDOWN_CHECKER_H_
6 #define CEF_LIBCEF_DLL_SHUTDOWN_CHECKER_H_
7 #pragma once
8 
9 namespace shutdown_checker {
10 
11 // Check that CEF objects are not held at CefShutdown.
12 void AssertNotShutdown();
13 
14 // Called from libcef_dll.cc and libcef_dll_wrapper.cc.
15 void SetIsShutdown();
16 
17 }  // namespace shutdown_checker
18 
19 #endif  // CEF_LIBCEF_DLL_SHUTDOWN_CHECKER_H_
20