blob: 75a89706dffb501a325aecbf200aa32d99d4544b [file] [log] [blame]
// 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_