| Index: base/base_paths_android.cc
|
| diff --git a/base/base_paths_android.cc b/base/base_paths_android.cc
|
| index 92d269ac04ef9cc91ccc32f2ebdcb2c202555744..039f39b8bfd4e71f066c4174e63072beb7ac33cc 100644
|
| --- a/base/base_paths_android.cc
|
| +++ b/base/base_paths_android.cc
|
| @@ -2,12 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/base_paths.h"
|
| +// Defines base::PathProviderAndroid which replaces base::PathProviderPosix for
|
| +// OS_ANDROID in base/path_service.cc.
|
|
|
| #include <unistd.h>
|
|
|
| #include "base/android/jni_android.h"
|
| #include "base/android/path_utils.h"
|
| +#include "base/base_paths.h"
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| #include "base/logging.h"
|
| @@ -47,6 +49,11 @@ bool PathProviderAndroid(int key, FilePath* result) {
|
| *result = FilePath(base::android::GetExternalStorageDirectory());
|
| return true;
|
| }
|
| + case base::DIR_USER_DESKTOP: {
|
| + // Android doesn't support GetUserDesktop.
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| + }
|
| case base::DIR_CACHE: {
|
| *result = FilePath(base::android::GetCacheDirectory());
|
| return true;
|
|
|