| Index: content/browser/resource_context_impl.cc
|
| diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc
|
| index 1ebcbcea287d16c3eea9301b217e923fd2967624..75ff1fa721d9ee726a6053514ef9b9767d1873ac 100644
|
| --- a/content/browser/resource_context_impl.cc
|
| +++ b/content/browser/resource_context_impl.cc
|
| @@ -5,7 +5,6 @@
|
| #include "content/browser/resource_context_impl.h"
|
|
|
| #include "base/logging.h"
|
| -#include "content/browser/appcache/chrome_appcache_service.h"
|
| #include "content/browser/fileapi/browser_file_system_helper.h"
|
| #include "content/browser/fileapi/chrome_blob_storage_context.h"
|
| #include "content/browser/histogram_internals_request_job.h"
|
| @@ -23,23 +22,13 @@
|
| #include "net/url_request/url_request.h"
|
| #include "net/url_request/url_request_context.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
| -#include "webkit/appcache/appcache_service.h"
|
| -#include "webkit/appcache/view_appcache_internals_job.h"
|
| -#include "webkit/blob/blob_data.h"
|
| -#include "webkit/blob/blob_url_request_job_factory.h"
|
| -#include "webkit/database/database_tracker.h"
|
| -#include "webkit/fileapi/file_system_url_request_job_factory.h"
|
|
|
| // Key names on ResourceContext.
|
| static const char* kBlobStorageContextKeyName = "content_blob_storage_context";
|
| static const char* kHostZoomMapKeyName = "content_host_zoom_map";
|
|
|
| -using appcache::AppCacheService;
|
| using base::UserDataAdapter;
|
| using content::BrowserThread;
|
| -using fileapi::FileSystemContext;
|
| -using webkit_blob::BlobStorageController;
|
| -using webkit_database::DatabaseTracker;
|
|
|
| namespace content {
|
|
|
| @@ -57,19 +46,6 @@ class NonOwningZoomData : public base::SupportsUserData::Data {
|
| } // namespace
|
|
|
|
|
| -ResourceContext::ResourceContext() {
|
| - if (ResourceDispatcherHostImpl::Get())
|
| - ResourceDispatcherHostImpl::Get()->AddResourceContext(this);
|
| -}
|
| -
|
| -ResourceContext::~ResourceContext() {
|
| - ResourceDispatcherHostImpl* rdhi = ResourceDispatcherHostImpl::Get();
|
| - if (rdhi) {
|
| - rdhi->CancelRequestsForContext(this);
|
| - rdhi->RemoveResourceContext(this);
|
| - }
|
| -}
|
| -
|
| ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
|
| ResourceContext* resource_context) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|