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

Unified Diff: chrome/browser/shell_integration_linux.cc

Issue 2924433002: Change linux default hidden file save directory to XDG_DATA_HOME (Closed)
Patch Set: Use XDG_CONFIG_HOME Created 3 years, 6 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/browser/shell_integration_linux.cc
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
index a9a1e98960cdf6467dfef7a5934294e77ecf7b96..a3cc1fa1a972e401ea94cd6511833674dcf52cd7 100644
--- a/chrome/browser/shell_integration_linux.cc
+++ b/chrome/browser/shell_integration_linux.cc
@@ -562,8 +562,6 @@ base::FilePath GetChromeExePath() {
} // namespace
base::FilePath GetDataWriteLocation(base::Environment* env) {
- base::ThreadRestrictions::AssertIOAllowed();
Lei Zhang 2017/06/07 06:48:33 Comment still says "called on the FILE thread" in
Tom Anderson 2017/06/07 18:38:38 Done.
-
return base::nix::GetXDGDirectory(env, "XDG_DATA_HOME", ".local/share");
}
« chrome/browser/download/download_prefs.cc ('K') | « chrome/browser/download/download_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698