| // Copyright 2016 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef EXTENSIONS_BROWSER_ENTRY_INFO_H_ |
| #define EXTENSIONS_BROWSER_ENTRY_INFO_H_ |
| #include "base/files/file_path.h" |
| // Contains information about files and directories. |
| EntryInfo(const base::FilePath& path, |
| const std::string& mime_type, |
| : path(path), mime_type(mime_type), is_directory(is_directory) {} |
| std::string mime_type; // Useful only if is_directory = false. |
| } // namespace extensions |
| #endif // EXTENSIONS_BROWSER_ENTRY_INFO_H_ |