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

Unified Diff: base/base_paths_android.cc

Issue 10910209: Add new PathService paths for Windows' All Users Desktop and Quick Launch folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile post-merge Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698