Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: chrome/test/testing_profile.cc

Issue 7129018: Time-based removal of temporary file systems via BrowsingDataRemover (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: michaeln's feedback. Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698