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

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: Adjust links to pass presubmit 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
« no previous file with comments | « base/base_paths_win.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index a3b882c2a9e8f76f668ed71b8549706059aecf51..7a696e9f7bfec254924caafd2319e37bd5dbadf5 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -26,6 +26,8 @@ namespace base {
#elif defined(OS_ANDROID)
bool PathProviderAndroid(int key, FilePath* result);
#elif defined(OS_POSIX)
+ // PathProviderPosix is the default path provider on POSIX OSes other than
+ // Mac and Android.
bool PathProviderPosix(int key, FilePath* result);
#endif
}
@@ -85,8 +87,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 +99,8 @@ Provider base_provider_posix = {
base::PathProviderPosix,
&base_provider,
#ifndef NDEBUG
- 0,
- 0,
+ base::PATH_POSIX_START,
+ base::PATH_POSIX_END,
#endif
true
};
« no previous file with comments | « base/base_paths_win.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698