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

Unified Diff: chrome/common/chrome_paths.cc

Issue 830193002: Using PolicyServiceWatcher instead of PolicyWatcherLinux/Win/Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed code review feedback from Sergey. Created 5 years, 11 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: chrome/common/chrome_paths.cc
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index 7c7d90e4f8af013255836aac6beb1d0d2424ef6c..af56236b4ed642995420578008df28d515b6605b 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -472,18 +472,6 @@ bool PathProvider(int key, base::FilePath* result) {
}
#endif
#if defined(OS_MACOSX) && !defined(OS_IOS)
- case chrome::DIR_MANAGED_PREFS: {
- if (!GetLocalLibraryDirectory(&cur))
- return false;
- cur = cur.Append(FILE_PATH_LITERAL("Managed Preferences"));
- char* login = getlogin();
- if (!login)
- return false;
- cur = cur.AppendASCII(login);
- if (!base::PathExists(cur)) // We don't want to create this.
- return false;
- break;
- }
case chrome::DIR_USER_LIBRARY: {
if (!GetUserLibraryDirectory(&cur))
return false;

Powered by Google App Engine
This is Rietveld 408576698