| Index: mojo/bindings/java/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java
|
| diff --git a/mojo/bindings/java/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java b/mojo/bindings/java/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..abb0bdfb89fe34b7d19a429a909d370b637c4c74
|
| --- /dev/null
|
| +++ b/mojo/bindings/java/src/org/chromium/mojo/bindings/ConnectionErrorHandler.java
|
| @@ -0,0 +1,15 @@
|
| +// 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.
|
| +
|
| +package org.chromium.mojo.bindings;
|
| +
|
| +import org.chromium.mojo.system.MojoException;
|
| +
|
| +/**
|
| + * A {@link ConnectionErrorHandler} is notified of an error happening while using the bindings over
|
| + * message pipes.
|
| + */
|
| +interface ConnectionErrorHandler {
|
| + public void onConnectionError(MojoException e);
|
| +}
|
|
|