| OLD | NEW |
| 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 CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/fileapi/isolated_file_util.h" | 9 #include "webkit/browser/fileapi/isolated_file_util.h" |
| 10 | 10 |
| 11 namespace chrome { | 11 namespace chrome { |
| 12 | 12 |
| 13 // This class handles native file system operations with media type filtering | 13 // This class handles native file system operations with media type filtering |
| 14 // which is passed to each method via fileapi::FileSystemOperationContext as | 14 // which is passed to each method via fileapi::FileSystemOperationContext as |
| 15 // MediaPathFilter. | 15 // MediaPathFilter. |
| 16 class NativeMediaFileUtil : public fileapi::IsolatedFileUtil { | 16 class NativeMediaFileUtil : public fileapi::IsolatedFileUtil { |
| 17 public: | 17 public: |
| 18 NativeMediaFileUtil(); | 18 NativeMediaFileUtil(); |
| 19 | 19 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 const fileapi::FileSystemURL& file_system_url, | 87 const fileapi::FileSystemURL& file_system_url, |
| 88 base::PlatformFileError failure_error, | 88 base::PlatformFileError failure_error, |
| 89 base::FilePath* local_file_path); | 89 base::FilePath* local_file_path); |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); | 91 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace chrome | 94 } // namespace chrome |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ | 96 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ |
| OLD | NEW |