Set OS X cache directory to ~/Library/Caches/[app name]/[profile name] 

 - Added implementation of GetUserCacheDirectory() for OS X. 
 - Added FilePath::GetRelativePath(). 
 - Implemented per-profile cache directories for OS X.

Patch by Fred Akalin <[email protected]>

Code review URL: http://codereview.chromium.org/174053
Review URL: http://codereview.chromium.org/204043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26387 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/base_paths_mac.h b/base/base_paths_mac.h
index 23ae7fe..324fc6c8 100644
--- a/base/base_paths_mac.h
+++ b/base/base_paths_mac.h
@@ -18,8 +18,8 @@
   FILE_MODULE,  // path and filename of the module containing the code for the
                 // PathService (which could differ from FILE_EXE if the
                 // PathService were compiled into a library, for example)
-  DIR_APP_DATA,  // ~/Library/Application Support/Google/Chrome
-  DIR_LOCAL_APP_DATA,  // same as above (can we remove?)
+  DIR_CACHE,    // ~/Library/Caches
+  DIR_APP_DATA,  // ~/Library/Application Support
   DIR_SOURCE_ROOT,  // Returns the root of the source tree.  This key is useful
                     // for tests that need to locate various resources.  It
                     // should not be used outside of test code.