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

Unified Diff: webkit/browser/blob/blob_url_request_job_factory.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
« no previous file with comments | « webkit/browser/blob/blob_url_request_job_factory.h ('k') | webkit/browser/blob/file_stream_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/blob/blob_url_request_job_factory.cc
diff --git a/webkit/browser/blob/blob_url_request_job_factory.cc b/webkit/browser/blob/blob_url_request_job_factory.cc
index 73efe4c21a4275162fac8d369980cbb4f71206b8..c8e4fd3171d2ee8098b70866de0e1ad147637e01 100644
--- a/webkit/browser/blob/blob_url_request_job_factory.cc
+++ b/webkit/browser/blob/blob_url_request_job_factory.cc
@@ -16,7 +16,7 @@
#include "webkit/browser/blob/blob_url_request_job.h"
#include "webkit/browser/fileapi/file_system_context.h"
-namespace webkit_blob {
+namespace storage {
namespace {
@@ -49,10 +49,9 @@ void BlobProtocolHandler::SetRequestedBlobDataHandle(
BlobProtocolHandler::BlobProtocolHandler(
BlobStorageContext* context,
- fileapi::FileSystemContext* file_system_context,
+ storage::FileSystemContext* file_system_context,
base::MessageLoopProxy* loop_proxy)
- : file_system_context_(file_system_context),
- file_loop_proxy_(loop_proxy) {
+ : file_system_context_(file_system_context), file_loop_proxy_(loop_proxy) {
if (context)
context_ = context->AsWeakPtr();
}
@@ -62,13 +61,15 @@ BlobProtocolHandler::~BlobProtocolHandler() {
net::URLRequestJob* BlobProtocolHandler::MaybeCreateJob(
net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
- return new webkit_blob::BlobURLRequestJob(
- request, network_delegate, LookupBlobData(request),
- file_system_context_, file_loop_proxy_);
+ return new storage::BlobURLRequestJob(request,
+ network_delegate,
+ LookupBlobData(request),
+ file_system_context_,
+ file_loop_proxy_);
}
-scoped_refptr<webkit_blob::BlobData>
-BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const {
+scoped_refptr<storage::BlobData> BlobProtocolHandler::LookupBlobData(
+ net::URLRequest* request) const {
BlobDataHandle* blob_data_handle = GetRequestedBlobDataHandle(request);
if (blob_data_handle)
return blob_data_handle->data();
@@ -86,4 +87,4 @@ BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const {
return handle.get() ? handle->data() : NULL;
}
-} // namespace webkit_blob
+} // namespace storage
« no previous file with comments | « webkit/browser/blob/blob_url_request_job_factory.h ('k') | webkit/browser/blob/file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698