• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
5 #ifndef MOJO_EDK_JS_HANDLE_CLOSE_OBSERVER_H_
6 #define MOJO_EDK_JS_HANDLE_CLOSE_OBSERVER_H_
7 
8 namespace mojo {
9 namespace edk {
10 namespace js {
11 
12 class HandleCloseObserver {
13  public:
14   virtual void OnWillCloseHandle() = 0;
15 
16  protected:
~HandleCloseObserver()17   virtual ~HandleCloseObserver() {}
18 };
19 
20 }  // namespace js
21 }  // namespace edk
22 }  // namespace mojo
23 
24 #endif  // MOJO_EDK_JS_HANDLE_CLOSE_OBSERVER_H_
25