Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / common / extensions / file_handler_info.h
blob5905ecd0240b0dfb73f05689f33bf5902f2202ac
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_
8 #include <set>
9 #include <string>
10 #include <vector>
12 namespace extensions {
14 struct FileHandlerInfo {
15 FileHandlerInfo();
16 ~FileHandlerInfo();
18 std::string id;
19 std::string title;
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 {
29 FileHandlersInfo();
30 ~FileHandlersInfo();
32 std::vector<FileHandlerInfo> handlers;
35 } // namespace extensions
37 #endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_