1 // Copyright (c) 2012 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 package org.chromium.base;
8 * This class provides java side access to the native PathService.
10 @JNINamespace("base::android")
11 public abstract class PathService {
13 // Must match the value of DIR_MODULE in base/base_paths.h!
14 public static final int DIR_MODULE = 3;
16 // Prevent instantiation.
17 private PathService() {}
19 public static void override(int what, String path) {
20 nativeOverride(what, path);
23 private static native void nativeOverride(int what, String path);