Chromium Code Reviews| Index: chrome/browser/media_galleries/fileapi/device_media_async_file_util.h |
| diff --git a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h |
| index 3a32f6741b6ce5b6131692af0bbf4d40a6df2c29..9085efee24549146a4b39bafc065ff929f50b367 100644 |
| --- a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h |
| +++ b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h |
| @@ -139,14 +139,23 @@ class DeviceMediaAsyncFileUtil : public fileapi::AsyncFileUtil { |
| // Called when the snapshot file specified by the |platform_path| is |
| // successfully created. |file_info| contains the device media file details |
| - // for which the snapshot file is created. |callback| is invoked to complete |
| - // the CreateSnapshotFile request. |
| + // for which the snapshot file is created. |
| void OnDidCreateSnapshotFile( |
| const AsyncFileUtil::CreateSnapshotFileCallback& callback, |
| base::SequencedTaskRunner* media_task_runner, |
| const base::PlatformFileInfo& file_info, |
| const base::FilePath& platform_path); |
| + // Called after OnDidCreateSnapshotFile finishes media check. |
| + // |callback| is invoked to complete the CreateSnapshotFile request. |
| + // It is called with |*error| regardless of result. |
| + void OnDidCheckMediaRunTask( |
|
vandebo (ex-Chrome)
2013/04/30 21:20:36
nit: I think this should be just OnDidCheckMedia.
Kevin Bailey
2013/05/02 00:54:02
Done.
|
| + const AsyncFileUtil::CreateSnapshotFileCallback& callback, |
| + base::SequencedTaskRunner* media_task_runner, |
| + const base::PlatformFileInfo& file_info, |
| + const base::FilePath& platform_path, |
| + base::PlatformFileError* error); |
| + |
| // Called when CreateSnapshotFile method call fails. |callback| is invoked to |
| // notify the caller about the |error|. |
| void OnCreateSnapshotFileError( |