Index: chrome/common/chrome_paths_internal.h |
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h |
index 5f9b18b9e13ae0f187543962562524a5b14d408f..c05478510f6366e231a8ccd33976f2f43d004cdf 100644 |
--- a/chrome/common/chrome_paths_internal.h |
+++ b/chrome/common/chrome_paths_internal.h |
@@ -92,6 +92,15 @@ bool GetGlobalApplicationSupportDirectory(base::FilePath* result); |
// inside the helper. In unbundled applications, such as tests, returns nil. |
NSBundle* OuterAppBundle(); |
+// Get the user data directory for the Chrome browser bundle at |bundle|. |
+// |bundle| should be the same value that would be returned from +[NSBundle |
+// mainBundle] if Chrome were launched normaly. This is used by app shims, |
+// which run from a bundle which isn't Chrome itself, but which need access to |
+// the user data directory to connect to a UNIX-domain socket therein. |
+// Returns false if there was a problem fetching the app data directory. |
+bool GetUserDataDirectoryForBrowserBundle( |
+ NSBundle* bundle, base::FilePath* result); |
Mark Mentovai
2013/04/03 17:52:01
Likewise.
|
+ |
#endif // OS_MACOSX && !OS_IOS |
// Checks if the |process_type| has the rights to access the profile. |