summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 20:40:17 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 20:40:17 +0000
commit6ee3f2feb9c514246f67f967748943961b53b4f3 (patch)
tree92cd8eb3570783be40452be7161151c8136fcdba /webkit
parent65f54158449ba49a23813751bd59cba26b84442f (diff)
downloadchromium_src-6ee3f2feb9c514246f67f967748943961b53b4f3.zip
chromium_src-6ee3f2feb9c514246f67f967748943961b53b4f3.tar.gz
chromium_src-6ee3f2feb9c514246f67f967748943961b53b4f3.tar.bz2
Move MockQuotaManager out of anonymous namespace to fix build
Mac WebKit valgrind fails with: quota_file_util_unittest.cc:75:warning: 'QuotaFileUtilTest' has a field 'QuotaFileUtilTest::quota_manager_' whose type uses the anonymous namespace This is a quick fix to get the bot running again; it may be better to declare the field as a QuotaManager and do dynamic_cast to access usage(). TBR=kinuko BUG=None TEST=Mac WebKit valgrind bot compiles Review URL: http://codereview.chromium.org/6976010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/fileapi/quota_file_util_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/fileapi/quota_file_util_unittest.cc b/webkit/fileapi/quota_file_util_unittest.cc
index 4fad014..0877df4 100644
--- a/webkit/fileapi/quota_file_util_unittest.cc
+++ b/webkit/fileapi/quota_file_util_unittest.cc
@@ -46,6 +46,8 @@ class MockFileSystemPathManager : public FileSystemPathManager {
FilePath test_filesystem_path_;
};
+} // namespace (anonymous)
+
class MockQuotaManager : public QuotaManager {
public:
MockQuotaManager(const FilePath& filesystem_path)
@@ -70,8 +72,6 @@ class MockQuotaManager : public QuotaManager {
int64 usage_;
};
-} // namespace (anonymous)
-
class QuotaFileUtilTest : public testing::Test {
public:
QuotaFileUtilTest()