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 |
}; |