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

Unified Diff: chrome/test/testing_profile.h

Issue 7464029: Adding QuotaManager logic to TestingProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.h
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index f944ff718e1f058d629abeb1e14d2fae0ef8aced..f42dcd988641e68540e30d7e2c5d1f9130283bbd 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -54,6 +54,10 @@ namespace net {
class URLRequestContextGetter;
}
+namespace quota {
+class QuotaManager;
+}
+
class TestingProfile : public Profile {
public:
TestingProfile();
@@ -143,7 +147,6 @@ class TestingProfile : public Profile {
virtual void DestroyOffTheRecordProfile() {}
virtual bool HasOffTheRecordProfile();
virtual Profile* GetOriginalProfile();
- void SetAppCacheService(ChromeAppCacheService* appcache_service);
virtual ChromeAppCacheService* GetAppCacheService();
virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
@@ -286,6 +289,9 @@ class TestingProfile : public Profile {
TestingPrefService* testing_prefs_;
private:
+ // Creates QuotaManager and its clients.
+ void CreateQuotaManagerAndClients();
+
// Destroys favicon service if it has been created.
void DestroyFaviconService();
@@ -389,6 +395,8 @@ class TestingProfile : public Profile {
ProfileDependencyManager* profile_dependency_manager_;
scoped_refptr<ChromeAppCacheService> appcache_service_;
+
+ scoped_refptr<quota::QuotaManager> quota_manager_;
};
#endif // CHROME_TEST_TESTING_PROFILE_H_

Powered by Google App Engine
This is Rietveld 408576698