diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 22:39:30 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 22:39:30 +0000 |
commit | d8a80d6e6d787b0f924e54993fd3bb700ea220fb (patch) | |
tree | 73cd31322e244b11fca6e3ffebf76c5eae054ae5 /base/path_service.h | |
parent | bbee17e594c08a4baf9379cdb22b4961a113434f (diff) | |
download | chromium_src-d8a80d6e6d787b0f924e54993fd3bb700ea220fb.zip chromium_src-d8a80d6e6d787b0f924e54993fd3bb700ea220fb.tar.gz chromium_src-d8a80d6e6d787b0f924e54993fd3bb700ea220fb.tar.bz2 |
Revert "chrome_paths: refactor and sanitize cache directory handling"
This reverts commit r67160, test failures.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/path_service.h')
-rw-r--r-- | base/path_service.h | 5 |
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. |