Home | History | Annotate | Download | only in js
      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_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_
      6 #define MOJO_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_
      7 
      8 namespace gin {
      9 
     10 class HandleCloseObserver {
     11  public:
     12   virtual void OnWillCloseHandle() = 0;
     13 
     14  protected:
     15   virtual ~HandleCloseObserver() {}
     16 };
     17 
     18 }  // namespace gin
     19 
     20 #endif  // MOJO_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_
     21