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

Unified Diff: storage/common/blob/scoped_file.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/blob/blob_data.cc ('k') | storage/common/blob/scoped_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/blob/scoped_file.h
diff --git a/webkit/common/blob/scoped_file.h b/storage/common/blob/scoped_file.h
similarity index 94%
rename from webkit/common/blob/scoped_file.h
rename to storage/common/blob/scoped_file.h
index b9d0bba48b8b5ae396d8f87629532049146eb899..a549c26526e8ec1c5e8074f6ae55d21ab72d79b1 100644
--- a/webkit/common/blob/scoped_file.h
+++ b/storage/common/blob/scoped_file.h
@@ -11,13 +11,13 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/move.h"
-#include "webkit/common/webkit_storage_common_export.h"
+#include "storage/common/storage_export.h"
namespace base {
class TaskRunner;
}
-namespace webkit_blob {
+namespace storage {
// A scoped reference for a FilePath that can optionally schedule the file
// to be deleted and/or to notify a consumer when it is going to be scoped out.
@@ -26,7 +26,7 @@ namespace webkit_blob {
//
// TODO(kinuko): Probably this can be moved under base or somewhere more
// common place.
-class WEBKIT_STORAGE_COMMON_EXPORT ScopedFile {
+class STORAGE_EXPORT ScopedFile {
// To support destructive assignment from an l-value assignment.
// This provides Pass() method which creates an r-value for the current
// instance. (See base/move.h for details)
@@ -89,6 +89,6 @@ class WEBKIT_STORAGE_COMMON_EXPORT ScopedFile {
ScopeOutCallbackList scope_out_callbacks_;
};
-} // namespace webkit_blob
+} // namespace storage
#endif // WEBKIT_COMMON_BLOB_SCOPED_FILE_H_
« no previous file with comments | « storage/common/blob/blob_data.cc ('k') | storage/common/blob/scoped_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698