OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_
H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_
H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_
H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_
H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 extensions::URLPatternSet url_set_; | 85 extensions::URLPatternSet url_set_; |
86 }; | 86 }; |
87 | 87 |
88 // Parses the "file_browser_handlers" extension manifest key. | 88 // Parses the "file_browser_handlers" extension manifest key. |
89 class FileBrowserHandlerParser : public extensions::ManifestHandler { | 89 class FileBrowserHandlerParser : public extensions::ManifestHandler { |
90 public: | 90 public: |
91 FileBrowserHandlerParser(); | 91 FileBrowserHandlerParser(); |
92 virtual ~FileBrowserHandlerParser(); | 92 virtual ~FileBrowserHandlerParser(); |
93 | 93 |
94 virtual bool Parse(extensions::Extension* extension, | 94 virtual bool Parse(extensions::Extension* extension, |
95 base::string16* error) OVERRIDE; | 95 base::string16* error) override; |
96 | 96 |
97 private: | 97 private: |
98 virtual const std::vector<std::string> Keys() const OVERRIDE; | 98 virtual const std::vector<std::string> Keys() const override; |
99 }; | 99 }; |
100 | 100 |
101 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL
ER_H_ | 101 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL
ER_H_ |
OLD | NEW |