Index: base/path_service.h |
=================================================================== |
--- base/path_service.h (revision 56775) |
+++ base/path_service.h (working copy) |
@@ -45,6 +45,9 @@ |
// 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. |
+ 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. |
@@ -62,7 +65,6 @@ |
int key_end); |
private: |
static bool GetFromCache(int key, FilePath* path); |
- static bool GetFromOverrides(int key, FilePath* path); |
static void AddToCache(int key, const FilePath& path); |
}; |