blob: 6de2d5939111e2951c2078cfbe846955dc6f6ae6 [file] [log] [blame]
// Copyright 2019 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.chrome.browser.safe_browsing;
import org.chromium.base.annotations.JNINamespace;
/**
* This class reports UMA values based on files' extensions.
*/
@JNINamespace("safe_browsing")
public final class FileTypePolicies {
/**
* @param path The file path.
* @return The UMA value for the file.
*/
public static int umaValueForFile(String path) {
return nativeUmaValueForFile(path);
}
private static native int nativeUmaValueForFile(String path);
}