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

Unified Diff: content/browser/fileapi/chrome_blob_storage_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/browser/fileapi/chrome_blob_storage_context.cc
diff --git a/content/browser/fileapi/chrome_blob_storage_context.cc b/content/browser/fileapi/chrome_blob_storage_context.cc
index 0b79bad322cba37f4dd83f74f8565a87ed27cd5a..2d8aa41eb46579e77eb802dcd8c847c718e92c2f 100644
--- a/content/browser/fileapi/chrome_blob_storage_context.cc
+++ b/content/browser/fileapi/chrome_blob_storage_context.cc
@@ -13,7 +13,7 @@
#include "webkit/browser/blob/blob_storage_context.h"
using base::UserDataAdapter;
-using webkit_blob::BlobStorageContext;
+using storage::BlobStorageContext;
namespace content {
@@ -23,7 +23,7 @@ const char kBlobStorageContextKeyName[] = "content_blob_storage_context";
class BlobHandleImpl : public BlobHandle {
public:
- explicit BlobHandleImpl(scoped_ptr<webkit_blob::BlobDataHandle> handle)
+ explicit BlobHandleImpl(scoped_ptr<storage::BlobDataHandle> handle)
: handle_(handle.Pass()) {
}
@@ -34,7 +34,7 @@ class BlobHandleImpl : public BlobHandle {
}
private:
- scoped_ptr<webkit_blob::BlobDataHandle> handle_;
+ scoped_ptr<storage::BlobDataHandle> handle_;
};
} // namespace
@@ -71,11 +71,10 @@ scoped_ptr<BlobHandle> ChromeBlobStorageContext::CreateMemoryBackedBlob(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
std::string uuid(base::GenerateGUID());
- scoped_refptr<webkit_blob::BlobData> blob_data =
- new webkit_blob::BlobData(uuid);
+ scoped_refptr<storage::BlobData> blob_data = new storage::BlobData(uuid);
blob_data->AppendData(data, length);
- scoped_ptr<webkit_blob::BlobDataHandle> blob_data_handle =
+ scoped_ptr<storage::BlobDataHandle> blob_data_handle =
context_->AddFinishedBlob(blob_data.get());
if (!blob_data_handle)
return scoped_ptr<BlobHandle>();
« no previous file with comments | « content/browser/fileapi/chrome_blob_storage_context.h ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698