[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / content / common / android / gin_java_bridge_errors.h
blob05ed80237865a4a492a629fb2554756f5a509846
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_
6 #define CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_
8 #include "content/common/content_export.h"
10 namespace content {
12 enum GinJavaBridgeError {
13 kGinJavaBridgeNoError = 0,
14 kGinJavaBridgeUnknownObjectId,
15 kGinJavaBridgeObjectIsGone,
16 kGinJavaBridgeMethodNotFound,
17 kGinJavaBridgeAccessToObjectGetClassIsBlocked,
18 kGinJavaBridgeJavaExceptionRaised,
19 kGinJavaBridgeNonAssignableTypes,
20 kGinJavaBridgeRenderFrameDeleted,
21 kGinJavaBridgeErrorLast = kGinJavaBridgeRenderFrameDeleted
24 CONTENT_EXPORT const char* GinJavaBridgeErrorToString(GinJavaBridgeError error);
26 } // namespace content
28 #endif // CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_ERRORS_H_