Fix emulator build error
[platform/framework/web/chromium-efl.git] / base / android / path_service_android.cc
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/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"
10
11 namespace base {
12 namespace android {
13
14 void JNI_PathService_Override(JNIEnv* env,
15                               jint what,
16                               const JavaParamRef<jstring>& path) {
17   FilePath file_path(ConvertJavaStringToUTF8(env, path));
18   PathService::Override(what, file_path);
19 }
20
21 }  // namespace android
22 }  // namespace base