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

Unified Diff: chrome/common/chrome_paths_mac.mm

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_mac.mm
===================================================================
--- chrome/common/chrome_paths_mac.mm (revision 30046)
+++ chrome/common/chrome_paths_mac.mm (working copy)
@@ -27,6 +27,19 @@
return success;
}
+bool GetChromeFrameUserDataDirectory(FilePath* result) {
+ bool success = false;
+ if (result && PathService::Get(base::DIR_APP_DATA, result)) {
+#if defined(GOOGLE_CHROME_BUILD)
+ *result = result->Append("Google").Append("Chrome Frame");
+#else
+ *result = result->Append("Chrome Frame");
+#endif
kuchhal 2009/10/27 18:47:26 I think you want to check for Chrome Frame Build.
robertshield 2009/10/27 19:55:37 This method is specific to Chrome Frame and so (as
+ success = true;
+ }
+ return success;
+}
+
bool GetUserDocumentsDirectory(FilePath* result) {
bool success = false;
NSArray* docArray =

Powered by Google App Engine
This is Rietveld 408576698