Chromium Code Reviews| 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..496adf8ca678ee204ff557c4f607382dee161352 |
| --- /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; |
| + |
| +/** |
| + * An {@link ConnectionErrorHandler} is notified of error happening while using the bindings over |
| + * message pipes. |
|
rmcilroy
2014/07/10 19:03:57
/s/An/A
/s/of error/of an error/
qsr
2014/07/11 11:42:07
Done.
|
| + */ |
| +interface ConnectionErrorHandler { |
| + public void onConnectionError(MojoException e); |
| +} |