diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 14:07:37 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 14:07:37 +0000 |
commit | b8096e69fa183c6facc254b7c7b78cb5099dd770 (patch) | |
tree | 5c359b5a1763d55d694ba7053fa83d10f6551238 /base/test_file_util_mac.cc | |
parent | 1b77870c93bf8a5949abda8e1de80974f11b509b (diff) | |
download | chromium_src-b8096e69fa183c6facc254b7c7b78cb5099dd770.zip chromium_src-b8096e69fa183c6facc254b7c7b78cb5099dd770.tar.gz chromium_src-b8096e69fa183c6facc254b7c7b78cb5099dd770.tar.bz2 |
Change the stub for file_util::EvictFileFromSystemCache
I don't think there is a way to get something out of the UBC once it's in,
so for now I'm just making this api return true so it won't fail unittests.
I have email out to Amit incase he has any ideas.
Review URL: http://codereview.chromium.org/42333
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test_file_util_mac.cc')
-rw-r--r-- | base/test_file_util_mac.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/test_file_util_mac.cc b/base/test_file_util_mac.cc index 1dd8533..4df71a5 100644 --- a/base/test_file_util_mac.cc +++ b/base/test_file_util_mac.cc @@ -9,9 +9,10 @@ namespace file_util { bool EvictFileFromSystemCache(const FilePath& file) { - // TODO(port): Implement. - NOTIMPLEMENTED(); - return false; + // There is no way that we can think of to dump something from the UBC. You + // can add something so when you open it, it doesn't go in, but that won't + // work here. + return true; } } // namespace file_util |