Index: base/base_paths_android.cc |
diff --git a/base/base_paths_android.cc b/base/base_paths_android.cc |
index 92d269ac04ef9cc91ccc32f2ebdcb2c202555744..409c3fc04fe1592b290750b683f89ecc0cd76a65 100644 |
--- a/base/base_paths_android.cc |
+++ b/base/base_paths_android.cc |
@@ -2,12 +2,12 @@ |
// 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/file_path.h" |
#include "base/file_util.h" |
#include "base/logging.h" |
@@ -47,6 +47,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; |