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. 4 5 #include "base/path_service.h" 6 7 #include "base/android/jni_string.h" 8 #include "base/files/file_path.h" 9 10 // Must come after all headers that specialize FromJniType() / ToJniType(). 11 #include "base/base_jni/PathService_jni.h" 12 13 namespace base { 14 namespace android { 15 JNI_PathService_Override(JNIEnv * env,jint what,std::string & path)16void JNI_PathService_Override(JNIEnv* env, jint what, std::string& path) { 17 PathService::Override(what, FilePath(path)); 18 } 19 20 } // namespace android 21 } // namespace base 22