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

Unified Diff: content/public/test/mock_blob_url_request_context.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/public/test/mock_blob_url_request_context.cc
diff --git a/content/public/test/mock_blob_url_request_context.cc b/content/public/test/mock_blob_url_request_context.cc
index 7d7ea1280d698305f77386b77b6a8b3fd3bf6818..8c51b49160d8279ee9b1634b8a18ff272856392f 100644
--- a/content/public/test/mock_blob_url_request_context.cc
+++ b/content/public/test/mock_blob_url_request_context.cc
@@ -13,13 +13,14 @@
namespace content {
MockBlobURLRequestContext::MockBlobURLRequestContext(
- fileapi::FileSystemContext* file_system_context)
- : blob_storage_context_(new webkit_blob::BlobStorageContext) {
+ storage::FileSystemContext* file_system_context)
+ : blob_storage_context_(new storage::BlobStorageContext) {
// Job factory owns the protocol handler.
job_factory_.SetProtocolHandler(
- "blob", new webkit_blob::BlobProtocolHandler(blob_storage_context_.get(),
- file_system_context,
- base::MessageLoopProxy::current()));
+ "blob",
+ new storage::BlobProtocolHandler(blob_storage_context_.get(),
+ file_system_context,
+ base::MessageLoopProxy::current()));
set_job_factory(&job_factory_);
}
@@ -34,8 +35,7 @@ ScopedTextBlob::ScopedTextBlob(
: blob_id_(blob_id),
context_(request_context.blob_storage_context()) {
DCHECK(context_);
- scoped_refptr<webkit_blob::BlobData> blob_data(
- new webkit_blob::BlobData(blob_id_));
+ scoped_refptr<storage::BlobData> blob_data(new storage::BlobData(blob_id_));
if (!data.empty())
blob_data->AppendData(data);
handle_ = context_->AddFinishedBlob(blob_data);
@@ -44,7 +44,7 @@ ScopedTextBlob::ScopedTextBlob(
ScopedTextBlob::~ScopedTextBlob() {
}
-scoped_ptr<webkit_blob::BlobDataHandle> ScopedTextBlob::GetBlobDataHandle() {
+scoped_ptr<storage::BlobDataHandle> ScopedTextBlob::GetBlobDataHandle() {
return context_->GetBlobDataFromUUID(blob_id_);
}
« no previous file with comments | « content/public/test/mock_blob_url_request_context.h ('k') | content/public/test/mock_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698