| Index: content/common/android/gin_java_bridge_errors.h
|
| diff --git a/content/common/android/gin_java_bridge_errors.h b/content/common/android/gin_java_bridge_errors.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75a89706dffb501a325aecbf200aa32d99d4544b
|
| --- /dev/null
|
| +++ b/content/common/android/gin_java_bridge_errors.h
|
| @@ -0,0 +1,25 @@
|
| +// 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 CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_
|
| +#define CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace content {
|
| +
|
| +enum GinJavaBridgeError {
|
| + kGinJavaBridgeNoError = 0,
|
| + kGinJavaBridgeUnknownObjectId,
|
| + kGinJavaBridgeObjectIsGone,
|
| + kGinJavaBridgeMethodNotFound,
|
| + kGinJavaBridgeAccessToObjectGetClassIsBlocked,
|
| + kGinJavaBridgeJavaExceptionRaised,
|
| +};
|
| +
|
| +CONTENT_EXPORT const char* GinJavaBridgeErrorToString(GinJavaBridgeError error);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_
|
|
|