OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // A list of MIME type filters. | 109 // A list of MIME type filters. |
110 std::set<std::string> mime_type_set_; | 110 std::set<std::string> mime_type_set_; |
111 }; | 111 }; |
112 | 112 |
113 // Parses the "file_browser_handlers" extension manifest key. | 113 // Parses the "file_browser_handlers" extension manifest key. |
114 class FileBrowserHandlerParser : public extensions::ManifestHandler { | 114 class FileBrowserHandlerParser : public extensions::ManifestHandler { |
115 public: | 115 public: |
116 FileBrowserHandlerParser(); | 116 FileBrowserHandlerParser(); |
117 virtual ~FileBrowserHandlerParser(); | 117 virtual ~FileBrowserHandlerParser(); |
118 | 118 |
119 virtual bool Parse(const base::Value* value, | 119 virtual bool Parse(extensions::Extension* extension, |
120 extensions::Extension* extension, | |
121 string16* error) OVERRIDE; | 120 string16* error) OVERRIDE; |
122 }; | 121 }; |
123 | 122 |
124 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ | 123 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_HANDLER_H_ |
OLD | NEW |