Chromium Code Reviews| 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 = |