// Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/test_file_util.h"

#include "base/logging.h"

namespace file_util {

bool EvictFileFromSystemCache(const FilePath& file) {
  // 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

// Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/test_file_util.h"

#include "base/logging.h"

namespace file_util {

bool EvictFileFromSystemCache(const FilePath& file) {
  // TODO(port): Implement.
  NOTIMPLEMENTED();
  return false;
}

}  // namespace file_util

--- 
+++ 
@@ -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
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: de016e52bd170d2d4f2344f9bf92d50478b649e0@11961 0039d316-1c4b-4281-b951-d872f2087c98
