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

Unified Diff: base/path_service.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/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index a3b882c2a9e8f76f668ed71b8549706059aecf51..f2aa31c389422a3446bee2aeb60f655396326736 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -10,6 +10,7 @@
#include <shlobj.h>
#endif
+#include "base/base_paths.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/hash_tables.h"
@@ -17,6 +18,18 @@
#include "base/logging.h"
#include "base/synchronization/lock.h"
+#if defined(OS_WIN)
+#include "base/base_paths_win.h"
+#elif defined(OS_ANDROID)
+#include "base/base_paths_android.h"
+#elif defined(OS_MACOSX)
+#include "base/base_paths_mac.h"
+#endif
+
+#if defined(OS_POSIX)
+#include "base/base_paths_posix.h"
+#endif
+
namespace base {
bool PathProvider(int key, FilePath* result);
#if defined(OS_WIN)
@@ -85,8 +98,8 @@ Provider base_provider_android = {
base::PathProviderAndroid,
&base_provider,
#ifndef NDEBUG
- 0,
- 0,
+ base::PATH_ANDROID_START,
+ base::PATH_ANDROID_END,
#endif
true
};
@@ -97,8 +110,8 @@ Provider base_provider_posix = {
base::PathProviderPosix,
&base_provider,
#ifndef NDEBUG
- 0,
- 0,
+ base::PATH_POSIX_START,
+ base::PATH_POSIX_END,
#endif
true
};

Powered by Google App Engine
This is Rietveld 408576698