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

Unified Diff: storage/browser/fileapi/quota/open_file_handle.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
Index: storage/browser/fileapi/quota/open_file_handle.h
diff --git a/webkit/browser/fileapi/quota/open_file_handle.h b/storage/browser/fileapi/quota/open_file_handle.h
similarity index 89%
rename from webkit/browser/fileapi/quota/open_file_handle.h
rename to storage/browser/fileapi/quota/open_file_handle.h
index 2bd7e93713a81c29955ca05326616d51c95f5bf6..53be2e39fba9ab7c913cd86e2e3df0aa2a39defc 100644
--- a/webkit/browser/fileapi/quota/open_file_handle.h
+++ b/storage/browser/fileapi/quota/open_file_handle.h
@@ -8,13 +8,13 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
+#include "storage/common/storage_export.h"
namespace base {
class FilePath;
}
-namespace fileapi {
+namespace storage {
class QuotaReservation;
class OpenFileHandleContext;
@@ -23,7 +23,7 @@ class QuotaReservationBuffer;
// Represents an open file like a file descriptor.
// This should be alive while a consumer keeps a file opened and should be
// deleted when the plugin closes the file.
-class WEBKIT_STORAGE_BROWSER_EXPORT OpenFileHandle {
+class STORAGE_EXPORT OpenFileHandle {
public:
~OpenFileHandle();
@@ -54,8 +54,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT OpenFileHandle {
private:
friend class QuotaReservationBuffer;
- OpenFileHandle(QuotaReservation* reservation,
- OpenFileHandleContext* context);
+ OpenFileHandle(QuotaReservation* reservation, OpenFileHandleContext* context);
scoped_refptr<QuotaReservation> reservation_;
scoped_refptr<OpenFileHandleContext> context_;
@@ -65,6 +64,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT OpenFileHandle {
DISALLOW_COPY_AND_ASSIGN(OpenFileHandle);
};
-} // namespace fileapi
+} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_QUOTA_OPEN_FILE_HANDLE_H_
« no previous file with comments | « storage/browser/fileapi/plugin_private_file_system_backend.cc ('k') | storage/browser/fileapi/quota/open_file_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698