blob: 7e115df27d6ec4862d96f95ce5d4920e70a76c62 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// 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,
kGinJavaBridgeNonAssignableTypes,
kGinJavaBridgeRenderFrameDeleted,
kGinJavaBridgeErrorLast = kGinJavaBridgeRenderFrameDeleted
};
CONTENT_EXPORT const char* GinJavaBridgeErrorToString(GinJavaBridgeError error);
} // namespace content
#endif // CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_