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 |
11 #include "base/basictypes.h" | |
12 #include "extensions/common/extension.h" | 11 #include "extensions/common/extension.h" |
13 #include "extensions/common/manifest_handler.h" | 12 #include "extensions/common/manifest_handler.h" |
14 #include "extensions/common/url_pattern.h" | 13 #include "extensions/common/url_pattern.h" |
15 #include "extensions/common/url_pattern_set.h" | 14 #include "extensions/common/url_pattern_set.h" |
16 | 15 |
17 class GURL; | 16 class GURL; |
18 class URLPattern; | 17 class URLPattern; |
19 | 18 |
20 // FileBrowserHandler encapsulates the state of a file browser action. | 19 // FileBrowserHandler encapsulates the state of a file browser action. |
21 class FileBrowserHandler { | 20 class FileBrowserHandler { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 FileBrowserHandlerParser(); | 90 FileBrowserHandlerParser(); |
92 ~FileBrowserHandlerParser() override; | 91 ~FileBrowserHandlerParser() override; |
93 | 92 |
94 bool Parse(extensions::Extension* extension, base::string16* error) override; | 93 bool Parse(extensions::Extension* extension, base::string16* error) override; |
95 | 94 |
96 private: | 95 private: |
97 const std::vector<std::string> Keys() const override; | 96 const std::vector<std::string> Keys() const override; |
98 }; | 97 }; |
99 | 98 |
100 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL
ER_H_ | 99 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL
ER_H_ |
OLD | NEW |