// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_ #define CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_ #include #include #include namespace extensions { struct FileHandlerInfo { FileHandlerInfo(); ~FileHandlerInfo(); std::string id; std::string title; // File extensions associated with this handler. std::set extensions; // MIME types associated with this handler. std::set types; }; struct FileHandlersInfo { FileHandlersInfo(); ~FileHandlersInfo(); std::vector handlers; }; } // namespace extensions #endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_