1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
6 #define CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
12 namespace extensions {
14 struct FileHandlerInfo {
21 // File extensions associated with this handler.
22 std::set<std::string> extensions;
24 // MIME types associated with this handler.
25 std::set<std::string> types;
28 struct FileHandlersInfo {
32 std::vector<FileHandlerInfo> handlers;
35 } // namespace extensions
37 #endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_