blob: 5d23809022acda72dd664619cd00acb21296bee3 [file] [log] [blame]
// Copyright 2017 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.android_webview;
import org.chromium.android_webview.renderer_priority.RendererPriority;
/**
* This class provides more specific information about why the render process
* exited. It is peer of android.webkit.RenderProcessGoneDetail.
*/
public class AwRenderProcessGoneDetail {
private final boolean mDidCrash;
@RendererPriority
private final int mRendererPriority;
public AwRenderProcessGoneDetail(boolean didCrash, @RendererPriority int rendererPriority) {
mDidCrash = didCrash;
mRendererPriority = rendererPriority;
}
public boolean didCrash() {
return mDidCrash;
}
@RendererPriority
public int rendererPriority() {
return mRendererPriority;
}
}