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

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: 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..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;
« base/base_paths.cc ('K') | « base/base_paths_android.h ('k') | base/base_paths_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698