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

Unified Diff: storage/browser/fileapi/quota/open_file_handle_context.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_context.h
diff --git a/webkit/browser/fileapi/quota/open_file_handle_context.h b/storage/browser/fileapi/quota/open_file_handle_context.h
similarity index 87%
rename from webkit/browser/fileapi/quota/open_file_handle_context.h
rename to storage/browser/fileapi/quota/open_file_handle_context.h
index 5b0cbcb9ca95e648ef1052eaa3f4c1afc7076b36..4404b770bef416c5f6ec94db1ab8b936a083a0e3 100644
--- a/webkit/browser/fileapi/quota/open_file_handle_context.h
+++ b/storage/browser/fileapi/quota/open_file_handle_context.h
@@ -12,10 +12,10 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "url/gurl.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
-#include "webkit/common/fileapi/file_system_types.h"
+#include "storage/common/storage_export.h"
+#include "storage/common/fileapi/file_system_types.h"
-namespace fileapi {
+namespace storage {
class QuotaReservationBuffer;
@@ -33,9 +33,7 @@ class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> {
void AddAppendModeWriteAmount(int64 amount);
- const base::FilePath& platform_path() const {
- return platform_path_;
- }
+ const base::FilePath& platform_path() const { return platform_path_; }
int64 GetEstimatedFileSize() const;
int64 GetMaxWrittenOffset() const;
@@ -56,6 +54,6 @@ class OpenFileHandleContext : public base::RefCounted<OpenFileHandleContext> {
DISALLOW_COPY_AND_ASSIGN(OpenFileHandleContext);
};
-} // namespace fileapi
+} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_HANDLE_CONTEXT_H_
« no previous file with comments | « storage/browser/fileapi/quota/open_file_handle.cc ('k') | storage/browser/fileapi/quota/open_file_handle_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698