7 #ifndef MEDIA_FILE_FILE_CLOSER_H_
8 #define MEDIA_FILE_FILE_CLOSER_H_
10 #include "packager/base/logging.h"
11 #include "packager/media/file/file.h"
13 namespace edash_packager {
19 inline void operator()(
File* file)
const {
21 const std::string filename = file->
file_name();
23 LOG(WARNING) <<
"Failed to close the file properly: "
33 #endif // MEDIA_FILE_FILE_CLOSER_H_