1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/android/jni_android.h"
6 #include "base/android/jni_string.h"
7 #include "base/base_jni/PathService_jni.h"
8 #include "base/files/file_path.h"
9 #include "base/path_service.h"
14 void JNI_PathService_Override(JNIEnv* env,
16 const JavaParamRef<jstring>& path) {
17 FilePath file_path(ConvertJavaStringToUTF8(env, path));
18 PathService::Override(what, file_path);
21 } // namespace android