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

Side by Side Diff: webkit/browser/fileapi/file_observers.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "webkit/browser/webkit_storage_browser_export.h" 9 #include "webkit/browser/webkit_storage_browser_export.h"
10 10
11 // TODO(kinuko): Split this file into per-observer multiple files. 11 // TODO(kinuko): Split this file into per-observer multiple files.
12 12
13 namespace fileapi { 13 namespace storage {
14 14
15 class FileSystemURL; 15 class FileSystemURL;
16 16
17 // An abstract interface to observe update operations. 17 // An abstract interface to observe update operations.
18 // 18 //
19 // OnStartUpdate and OnEndUpdate are called once for each target url 19 // OnStartUpdate and OnEndUpdate are called once for each target url
20 // before and after following operations regardless of whether the operation 20 // before and after following operations regardless of whether the operation
21 // is made recursively or not (i.e. StartUpdate() will be called only once 21 // is made recursively or not (i.e. StartUpdate() will be called only once
22 // for destination url regardless of whether it is recursive copy or not): 22 // for destination url regardless of whether it is recursive copy or not):
23 // CreateFile(), CreateDirectory(), 23 // CreateFile(), CreateDirectory(),
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void OnRemoveFile(const FileSystemURL& url) = 0; 71 virtual void OnRemoveFile(const FileSystemURL& url) = 0;
72 virtual void OnModifyFile(const FileSystemURL& url) = 0; 72 virtual void OnModifyFile(const FileSystemURL& url) = 0;
73 73
74 virtual void OnCreateDirectory(const FileSystemURL& url) = 0; 74 virtual void OnCreateDirectory(const FileSystemURL& url) = 0;
75 virtual void OnRemoveDirectory(const FileSystemURL& url) = 0; 75 virtual void OnRemoveDirectory(const FileSystemURL& url) = 0;
76 76
77 private: 77 private:
78 DISALLOW_COPY_AND_ASSIGN(FileChangeObserver); 78 DISALLOW_COPY_AND_ASSIGN(FileChangeObserver);
79 }; 79 };
80 80
81 } // namespace fileapi 81 } // namespace storage
82 82
83 #endif // WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_ 83 #endif // WEBKIT_BROWSER_FILEAPI_FILE_OBSERVERS_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/external_mount_points.cc ('k') | webkit/browser/fileapi/file_permission_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698