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

Unified Diff: storage/browser/fileapi/file_observers.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/browser/fileapi/external_mount_points.cc ('k') | storage/browser/fileapi/file_permission_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/file_observers.h
diff --git a/webkit/browser/fileapi/file_observers.h b/storage/browser/fileapi/file_observers.h
similarity index 90%
rename from webkit/browser/fileapi/file_observers.h
rename to storage/browser/fileapi/file_observers.h
index c791503d82f4e7084ab59e8cec67508129f45967..6d93756de13c17e3a5f5636237be315c502016ac 100644
--- a/webkit/browser/fileapi/file_observers.h
+++ b/storage/browser/fileapi/file_observers.h
@@ -6,11 +6,11 @@
#define WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_
#include "base/basictypes.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
+#include "storage/common/storage_export.h"
// TODO(kinuko): Split this file into per-observer multiple files.
-namespace fileapi {
+namespace storage {
class FileSystemURL;
@@ -27,7 +27,7 @@ class FileSystemURL;
//
// OnUpdate() is called each time the |url| is updated but works only for
// sandboxed files (where usage is tracked).
-class WEBKIT_STORAGE_BROWSER_EXPORT FileUpdateObserver {
+class STORAGE_EXPORT FileUpdateObserver {
public:
FileUpdateObserver() {}
virtual ~FileUpdateObserver() {}
@@ -44,7 +44,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileUpdateObserver {
// OnAccess is called whenever an operation reads file contents or metadata.
// (It is called only once per operation regardless of whether the operation
// is recursive or not)
-class WEBKIT_STORAGE_BROWSER_EXPORT FileAccessObserver {
+class STORAGE_EXPORT FileAccessObserver {
public:
FileAccessObserver() {}
virtual ~FileAccessObserver() {}
@@ -60,7 +60,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileAccessObserver {
// removed or modified. For recursive operations each method is called for
// each subdirectory/subfile. Currently ChangeObserver is only supported
// by the local sandbox file system.
-class WEBKIT_STORAGE_BROWSER_EXPORT FileChangeObserver {
+class STORAGE_EXPORT FileChangeObserver {
public:
FileChangeObserver() {}
virtual ~FileChangeObserver() {}
@@ -78,6 +78,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileChangeObserver {
DISALLOW_COPY_AND_ASSIGN(FileChangeObserver);
};
-} // namespace fileapi
+} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_
« no previous file with comments | « storage/browser/fileapi/external_mount_points.cc ('k') | storage/browser/fileapi/file_permission_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698