summaryrefslogtreecommitdiffstats
path: root/base/path_service.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-13 19:15:23 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-13 19:15:23 +0000
commit493edd0e0d05d5a20e43f22463a62c1ad8ffed64 (patch)
treee24aaf59dbf716cb6b47557b935a7160960c47d9 /base/path_service.h
parent8bfdb1d91fea044ac350dd404f5c24b49845fbd1 (diff)
downloadchromium_src-493edd0e0d05d5a20e43f22463a62c1ad8ffed64.zip
chromium_src-493edd0e0d05d5a20e43f22463a62c1ad8ffed64.tar.gz
chromium_src-493edd0e0d05d5a20e43f22463a62c1ad8ffed64.tar.bz2
linux: fix cache corruption when using multiple --user-data-dir
This regressed in r59021. I think I can fix it in a cleaner way with some refactoring, but for now since I want to cherry-pick this onto older branches let's revert some of r59021 to fix this in the simplest way possible. BUG=59824 TEST=manual (will write a test in my followup that refactors it) Review URL: http://codereview.chromium.org/4911002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/path_service.h')
-rw-r--r--base/path_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/path_service.h b/base/path_service.h
index 4d99cdc..6873e1f 100644
--- a/base/path_service.h
+++ b/base/path_service.h
@@ -45,6 +45,11 @@ class PathService {
// over the lifetime of the app, so this method should be used with caution.
static bool Override(int key, const FilePath& path);
+ // Return whether a path was overridden.
+ // TODO(evan): temporarily restoring this to quick-fix a regression.
+ // Remove me again once it's fixed properly.
+ static bool IsOverridden(int key);
+
// To extend the set of supported keys, you can register a path provider,
// which is just a function mirroring PathService::Get. The ProviderFunc
// returns false if it cannot provide a non-empty path for the given key.