blob: 5905ecd0240b0dfb73f05689f33bf5902f2202ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// 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 <set>
#include <string>
#include <vector>
namespace extensions {
struct FileHandlerInfo {
FileHandlerInfo();
~FileHandlerInfo();
std::string id;
std::string title;
// File extensions associated with this handler.
std::set<std::string> extensions;
// MIME types associated with this handler.
std::set<std::string> types;
};
struct FileHandlersInfo {
FileHandlersInfo();
~FileHandlersInfo();
std::vector<FileHandlerInfo> handlers;
};
} // namespace extensions
#endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
|