Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: base/android/path_service.cc

Issue 10802065: Android resource PAKs and native lib file path changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and update comment per joth@ suggestion Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #include "base/android/path_service.h"
6
7 #include "base/file_path.h"
8 #include "base/path_service.h"
9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h"
11
12 #include "jni/PathService_jni.h"
brettw 2012/08/02 19:38:53 I'd probably not put the extra blank line above th
benm (inactive) 2012/08/03 11:11:11 Done.
13
14 namespace base {
15 namespace android {
16
17 void Override(JNIEnv* env, jclass clazz, jint what, jstring path) {
18 FilePath file_path(ConvertJavaStringToUTF8(env, path));
19 PathService::Override(what, file_path);
20 }
21
22 bool RegisterPathService(JNIEnv* env) {
23 return RegisterNativesImpl(env);
24 }
25
26 } // namespace android
27 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698