Index: chrome/common/chrome_paths_linux.cc |
=================================================================== |
--- chrome/common/chrome_paths_linux.cc (revision 30046) |
+++ chrome/common/chrome_paths_linux.cc (working copy) |
@@ -72,6 +72,16 @@ |
return true; |
} |
+bool GetChromeFrameUserDataDirectory(FilePath* result) { |
+ FilePath config_dir(GetXDGDirectory("XDG_CONFIG_HOME", ".config")); |
+#if defined(GOOGLE_CHROME_BUILD) |
kuchhal
2009/10/27 18:47:26
I think you want to check for CHROME_FRAME_BUILD?
robertshield
2009/10/27 19:55:37
No, I want to check for GOOGLE_CHROME_BUILD (see o
|
+ *result = config_dir.Append("google-chrome-frame"); |
+#else |
+ *result = config_dir.Append("chrome-frame"); |
+#endif |
+ return true; |
+} |
+ |
// See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
// for a spec on where cache files go. The net effect for most |
// systems is we use ~/.cache/chromium/ for Chromium and |