Index: chrome/test/testing_profile.cc |
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc |
index d1087c5bcae7519d491b5a86c1f580127229eedb..64ee134d1f9b32a3eb64396d91c87b41f1f68f1a 100644 |
--- a/chrome/test/testing_profile.cc |
+++ b/chrome/test/testing_profile.cc |
@@ -59,6 +59,7 @@ |
#include "webkit/database/database_tracker.h" |
#include "webkit/fileapi/file_system_context.h" |
#include "webkit/quota/quota_manager.h" |
+#include "webkit/quota/mock_quota_manager.h" |
using base::Time; |
using testing::NiceMock; |
@@ -543,8 +544,12 @@ fileapi::FileSystemContext* TestingProfile::GetFileSystemContext() { |
return file_system_context_.get(); |
} |
+void TestingProfile::SetQuotaManager(quota::QuotaManager* manager) { |
+ quota_manager_ = manager; |
+} |
+ |
quota::QuotaManager* TestingProfile::GetQuotaManager() { |
- return NULL; |
+ return quota_manager_.get(); |
} |
BrowserSignin* TestingProfile::GetBrowserSignin() { |