Index: base/base_paths_android.cc |
diff --git a/base/base_paths_android.cc b/base/base_paths_android.cc |
index 92d269ac04ef9cc91ccc32f2ebdcb2c202555744..be8731e3b09e46e3a4a80280e48e6d99afad3656 100644 |
--- a/base/base_paths_android.cc |
+++ b/base/base_paths_android.cc |
@@ -2,12 +2,13 @@ |
// 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" |
- |
#include <unistd.h> |
#include "base/android/jni_android.h" |
#include "base/android/path_utils.h" |
+#include "base/base_paths.h" |
+#include "base/base_paths_android.h" |
+#include "base/base_paths_posix.h" |
#include "base/file_path.h" |
#include "base/file_util.h" |
#include "base/logging.h" |
@@ -47,6 +48,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; |