Index: webkit/fileapi/file_system_path_manager_unittest.cc |
diff --git a/webkit/fileapi/file_system_path_manager_unittest.cc b/webkit/fileapi/file_system_path_manager_unittest.cc |
index 008c077aed6829c1599b1718c2d291e3be938ffc..afa157b6bec2da0d925958179482a2d2e4a8ec55 100644 |
--- a/webkit/fileapi/file_system_path_manager_unittest.cc |
+++ b/webkit/fileapi/file_system_path_manager_unittest.cc |
@@ -21,7 +21,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webkit/fileapi/file_system_util.h" |
#include "webkit/fileapi/sandbox_mount_point_provider.h" |
-#include "webkit/quota/special_storage_policy.h" |
+#include "webkit/quota/mock_special_storage_policy.h" |
namespace fileapi { |
namespace { |
@@ -205,21 +205,6 @@ FilePath UTF8ToFilePath(const std::string& str) { |
return FilePath(result); |
} |
-class TestSpecialStoragePolicy : public quota::SpecialStoragePolicy { |
- public: |
- virtual bool IsStorageProtected(const GURL& origin) { |
- return false; |
- } |
- |
- virtual bool IsStorageUnlimited(const GURL& origin) { |
- return true; |
- } |
- |
- virtual bool IsFileHandler(const std::string& extension_id) { |
- return true; |
- } |
-}; |
- |
} // namespace |
class FileSystemPathManagerTest : public testing::Test { |
@@ -243,7 +228,7 @@ class FileSystemPathManagerTest : public testing::Test { |
base::MessageLoopProxy::current(), |
data_dir_.path(), |
scoped_refptr<quota::SpecialStoragePolicy>( |
- new TestSpecialStoragePolicy()), |
+ new quota::MockSpecialStoragePolicy), |
incognito, |
allow_file_access); |
#if defined(OS_CHROMEOS) |