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

Unified Diff: storage/common/blob/blob_data.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 | « storage/common/DEPS ('k') | storage/common/blob/blob_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/blob/blob_data.h
diff --git a/webkit/common/blob/blob_data.h b/storage/common/blob/blob_data.h
similarity index 83%
rename from webkit/common/blob/blob_data.h
rename to storage/common/blob/blob_data.h
index 3ea6e9123d01dede2485b30a062273c7d8e4bc4f..1d84f349087041a7a74fedf87eaaf15281e91c32 100644
--- a/webkit/common/blob/blob_data.h
+++ b/storage/common/blob/blob_data.h
@@ -13,14 +13,13 @@
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "url/gurl.h"
-#include "webkit/common/blob/shareable_file_reference.h"
-#include "webkit/common/data_element.h"
-#include "webkit/common/webkit_storage_common_export.h"
+#include "storage/common/blob/shareable_file_reference.h"
+#include "storage/common/data_element.h"
+#include "storage/common/storage_export.h"
-namespace webkit_blob {
+namespace storage {
-class WEBKIT_STORAGE_COMMON_EXPORT BlobData
- : public base::RefCounted<BlobData> {
+class STORAGE_EXPORT BlobData : public base::RefCounted<BlobData> {
public:
typedef webkit_common::DataElement Item;
@@ -34,10 +33,14 @@ class WEBKIT_STORAGE_COMMON_EXPORT BlobData
void AppendData(const char* data, size_t length);
- void AppendFile(const base::FilePath& file_path, uint64 offset, uint64 length,
+ void AppendFile(const base::FilePath& file_path,
+ uint64 offset,
+ uint64 length,
const base::Time& expected_modification_time);
void AppendBlob(const std::string& uuid, uint64 offset, uint64 length);
- void AppendFileSystemFile(const GURL& url, uint64 offset, uint64 length,
+ void AppendFileSystemFile(const GURL& url,
+ uint64 offset,
+ uint64 length,
const base::Time& expected_modification_time);
void AttachShareableFileReference(ShareableFileReference* reference) {
@@ -93,6 +96,6 @@ inline bool operator!=(const BlobData& a, const BlobData& b) {
}
#endif // defined(UNIT_TEST)
-} // namespace webkit_blob
+} // namespace storage
#endif // WEBKIT_COMMON_BLOB_BLOB_DATA_H_
« no previous file with comments | « storage/common/DEPS ('k') | storage/common/blob/blob_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698