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

Unified Diff: chrome/common/chrome_paths_linux.cc

Issue 338025: Remove the Chrome Frame preprocessor define in chrome_constants.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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_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

Powered by Google App Engine
This is Rietveld 408576698