summaryrefslogtreecommitdiffstats
path: root/content/test/test_browser_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/test/test_browser_context.cc')
-rw-r--r--content/test/test_browser_context.cc31
1 files changed, 5 insertions, 26 deletions
diff --git a/content/test/test_browser_context.cc b/content/test/test_browser_context.cc
index bc8a3ee..df3934e 100644
--- a/content/test/test_browser_context.cc
+++ b/content/test/test_browser_context.cc
@@ -19,6 +19,10 @@ TestBrowserContext::TestBrowserContext() {
TestBrowserContext::~TestBrowserContext() {
}
+FilePath TestBrowserContext::TakePath() {
+ return browser_context_dir_.Take();
+}
+
FilePath TestBrowserContext::GetPath() {
return browser_context_dir_.path();
}
@@ -67,31 +71,6 @@ bool TestBrowserContext::DidLastSessionExitCleanly() {
return true;
}
-quota::QuotaManager* TestBrowserContext::GetQuotaManager() {
- return NULL;
-}
-
-WebKitContext* TestBrowserContext::GetWebKitContext() {
- if (webkit_context_ == NULL) {
- webkit_context_ = new WebKitContext(
- IsOffTheRecord(), GetPath(),
- NULL, false, NULL, NULL);
- }
- return webkit_context_;
-}
-
-webkit_database::DatabaseTracker* TestBrowserContext::GetDatabaseTracker() {
- return NULL;
-}
-
-ChromeBlobStorageContext* TestBrowserContext::GetBlobStorageContext() {
- return NULL;
-}
-
-ChromeAppCacheService* TestBrowserContext::GetAppCacheService() {
- return NULL;
-}
-
-fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() {
+quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() {
return NULL;
}