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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index 172fc5dfae41850ae6cb35d39986aa630bfdeb84..2c222b690ee44aea27291638d5c3308831f689fd 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -98,7 +98,7 @@
using base::Time;
using base::TimeDelta;
using base::TimeTicks;
-using webkit_blob::ShareableFileReference;
+using storage::ShareableFileReference;
// ----------------------------------------------------------------------------
@@ -200,7 +200,7 @@ void SetReferrerForRequest(net::URLRequest* request, const Referrer& referrer) {
bool ShouldServiceRequest(int process_type,
int child_id,
const ResourceHostMsg_Request& request_data,
- fileapi::FileSystemContext* file_system_context) {
+ storage::FileSystemContext* file_system_context) {
if (process_type == PROCESS_TYPE_PLUGIN)
return true;
@@ -227,7 +227,7 @@ bool ShouldServiceRequest(int process_type,
return false;
}
if (iter->type() == ResourceRequestBody::Element::TYPE_FILE_FILESYSTEM) {
- fileapi::FileSystemURL url =
+ storage::FileSystemURL url =
file_system_context->CrackURL(iter->filesystem_url());
if (!policy->CanReadFileSystemFile(child_id, url)) {
NOTREACHED() << "Denied unauthorized upload of "
@@ -299,7 +299,7 @@ bool IsValidatedSCT(
return sct_status.status == net::ct::SCT_STATUS_OK;
}
-webkit_blob::BlobStorageContext* GetBlobStorageContext(
+storage::BlobStorageContext* GetBlobStorageContext(
ResourceMessageFilter* filter) {
if (!filter->blob_storage_context())
return NULL;
@@ -552,7 +552,7 @@ DownloadInterruptReason ResourceDispatcherHostImpl::BeginDownload(
if (request->url().SchemeIs(url::kBlobScheme)) {
ChromeBlobStorageContext* blob_context =
GetChromeBlobStorageContextForResourceContext(context);
- webkit_blob::BlobProtocolHandler::SetRequestedBlobDataHandle(
+ storage::BlobProtocolHandler::SetRequestedBlobDataHandle(
request.get(),
blob_context->context()->GetBlobDataFromPublicURL(request->url()));
}
@@ -1101,10 +1101,10 @@ void ResourceDispatcherHostImpl::BeginRequest(
if (new_request->url().SchemeIs(url::kBlobScheme)) {
// Hang on to a reference to ensure the blob is not released prior
// to the job being started.
- webkit_blob::BlobProtocolHandler::SetRequestedBlobDataHandle(
+ storage::BlobProtocolHandler::SetRequestedBlobDataHandle(
new_request.get(),
- filter_->blob_storage_context()->context()->
- GetBlobDataFromPublicURL(new_request->url()));
+ filter_->blob_storage_context()->context()->GetBlobDataFromPublicURL(
+ new_request->url()));
}
// Initialize the service worker handler for the request.
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.h ('k') | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698