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

Unified Diff: components/filesystem/file_system_app.cc

Issue 1751713002: Remove stale mentions of mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 4 years, 9 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 | « WATCHLISTS ('k') | components/url_formatter/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_system_app.cc
diff --git a/components/filesystem/file_system_app.cc b/components/filesystem/file_system_app.cc
index 011f74d78f425911cc4aed822af217ffca1b3291..9fe694cf7636d17d23c3730d4e7dde990d527bc0 100644
--- a/components/filesystem/file_system_app.cc
+++ b/components/filesystem/file_system_app.cc
@@ -65,23 +65,19 @@ base::FilePath FileSystemApp::GetUserDataDir() {
} else {
#if defined(OS_WIN)
CHECK(PathService::Get(base::DIR_LOCAL_APP_DATA, &path));
- path = path.Append(FILE_PATH_LITERAL("mandoline"));
-#elif defined(OS_LINUX)
- scoped_ptr<base::Environment> env(base::Environment::Create());
- base::FilePath config_dir(
- base::nix::GetXDGDirectory(env.get(),
- base::nix::kXdgConfigHomeEnvVar,
- base::nix::kDotConfigDir));
- path = config_dir.Append("mandoline");
#elif defined(OS_MACOSX)
CHECK(PathService::Get(base::DIR_APP_DATA, &path));
- path = path.Append("Mandoline Shell");
#elif defined(OS_ANDROID)
CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &path));
- path = path.Append(FILE_PATH_LITERAL("mandoline"));
+#elif defined(OS_LINUX)
+ scoped_ptr<base::Environment> env(base::Environment::Create());
+ path = base::nix::GetXDGDirectory(env.get(),
+ base::nix::kXdgConfigHomeEnvVar,
+ base::nix::kDotConfigDir);
#else
NOTIMPLEMENTED();
#endif
+ path = path.Append(FILE_PATH_LITERAL("filesystem"));
}
if (!base::PathExists(path))
« no previous file with comments | « WATCHLISTS ('k') | components/url_formatter/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698