| Index: mojo/public/bindings/error_handler.h
|
| diff --git a/mojo/public/bindings/error_handler.h b/mojo/public/bindings/error_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cfe18607d92c5b445c8ab93f63a2574936b7cf92
|
| --- /dev/null
|
| +++ b/mojo/public/bindings/error_handler.h
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef MOJO_PUBLIC_BINDINGS_ERROR_HANDLER_H_
|
| +#define MOJO_PUBLIC_BINDINGS_ERROR_HANDLER_H_
|
| +
|
| +namespace mojo {
|
| +
|
| +class ErrorHandler {
|
| + public:
|
| + virtual ~ErrorHandler() {}
|
| + virtual void OnError() = 0;
|
| +};
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_PUBLIC_BINDINGS_ERROR_HANDLER_H_
|
|
|