Add Search Service in Enhanced Bookmark Bridge
[chromium-blink-merge.git] / mojo / bindings / js / handle_close_observer.h
blob8f1946652c79b0f2cba118bee2c2ead2bd6d0859
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.
5 #ifndef MOJO_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_
6 #define MOJO_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_
8 namespace mojo {
9 namespace js {
11 class HandleCloseObserver {
12 public:
13 virtual void OnWillCloseHandle() = 0;
15 protected:
16 virtual ~HandleCloseObserver() {}
19 } // namespace js
20 } // namespace mojo
22 #endif // MOJO_BINDINGS_JS_HANDLE_CLOSE_OBSERVER_H_