Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: chrome/common/extensions/file_handler_info.h

Issue 64803005: File association for app shims. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a comma. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/file_handler_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
6 #define CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_ 6 #define CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 struct FileHandlerInfo { 14 struct FileHandlerInfo {
15 FileHandlerInfo(); 15 FileHandlerInfo();
16 ~FileHandlerInfo(); 16 ~FileHandlerInfo();
17 17
18 std::string id; 18 std::string id;
19 std::string title; 19 std::string title;
20 20
21 // File extensions associated with this handler. 21 // File extensions associated with this handler.
22 std::set<std::string> extensions; 22 std::set<std::string> extensions;
23 23
24 // MIME types associated with this handler. 24 // MIME types associated with this handler.
25 std::set<std::string> types; 25 std::set<std::string> types;
26 }; 26 };
27 27
28 struct FileHandlersInfo { 28 struct FileHandlersInfo {
29 explicit FileHandlersInfo(const std::vector<FileHandlerInfo>* handlers); 29 FileHandlersInfo();
30 ~FileHandlersInfo(); 30 ~FileHandlersInfo();
31 31
32 const std::vector<FileHandlerInfo>* handlers; 32 std::vector<FileHandlerInfo> handlers;
33 }; 33 };
34 34
35 } // namespace extensions 35 } // namespace extensions
36 36
37 #endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_ 37 #endif // CHROME_COMMON_EXTENSIONS_FILE_HANDLER_INFO_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/file_handler_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698