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

Unified Diff: webkit/fileapi/file_system_operation_context.h

Issue 10825042: Implement media path filter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: webkit/fileapi/file_system_operation_context.h
diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
index 1cb51b9d44b03b639e776f9ec196c373fe071fcc..7b265391ed242b5a575c8bc0e3a57b3fe48377b6 100644
--- a/webkit/fileapi/file_system_operation_context.h
+++ b/webkit/fileapi/file_system_operation_context.h
@@ -19,6 +19,8 @@ class SequencedTaskRunner;
namespace fileapi {
+class MediaPathFilter;
+
class FILEAPI_EXPORT_PRIVATE FileSystemOperationContext {
public:
explicit FileSystemOperationContext(FileSystemContext* context);
@@ -35,10 +37,19 @@ class FILEAPI_EXPORT_PRIVATE FileSystemOperationContext {
base::SequencedTaskRunner* file_task_runner() const;
+ void set_media_path_filter(MediaPathFilter* media_path_filter) {
+ media_path_filter_ = media_path_filter;
+ }
+
+ MediaPathFilter* media_path_filter() {
+ return media_path_filter_;
+ }
+
private:
scoped_refptr<FileSystemContext> file_system_context_;
int64 allowed_bytes_growth_;
+ MediaPathFilter* media_path_filter_;
};
} // namespace fileapi

Powered by Google App Engine
This is Rietveld 408576698