| 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 "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "webkit/browser/fileapi/async_file_util.h" | 10 #include "storage/browser/fileapi/async_file_util.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 class IOBuffer; | 13 class IOBuffer; |
| 14 } | 14 } |
| 15 | 15 |
| 16 class MediaPathFilter; | 16 class MediaPathFilter; |
| 17 | 17 |
| 18 // This class handles native file system operations with media type filtering. | 18 // This class handles native file system operations with media type filtering. |
| 19 // To support virtual file systems it implements the AsyncFileUtil interface | 19 // To support virtual file systems it implements the AsyncFileUtil interface |
| 20 // from scratch and provides synchronous override points. | 20 // from scratch and provides synchronous override points. |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 223 |
| 224 // Not owned, owned by the backend which owns this. | 224 // Not owned, owned by the backend which owns this. |
| 225 MediaPathFilter* const media_path_filter_; | 225 MediaPathFilter* const media_path_filter_; |
| 226 | 226 |
| 227 base::WeakPtrFactory<NativeMediaFileUtil> weak_factory_; | 227 base::WeakPtrFactory<NativeMediaFileUtil> weak_factory_; |
| 228 | 228 |
| 229 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); | 229 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ | 232 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_NATIVE_MEDIA_FILE_UTIL_H_ |
| OLD | NEW |