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" | 11 #include "base/basictypes.h" |
12 #include "chrome/common/extensions/extension.h" | 12 #include "extensions/common/extension.h" |
13 #include "extensions/common/manifest_handler.h" | 13 #include "extensions/common/manifest_handler.h" |
14 #include "extensions/common/url_pattern.h" | 14 #include "extensions/common/url_pattern.h" |
15 #include "extensions/common/url_pattern_set.h" | 15 #include "extensions/common/url_pattern_set.h" |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 class URLPattern; | 18 class URLPattern; |
19 | 19 |
20 // FileBrowserHandler encapsulates the state of a file browser action. | 20 // FileBrowserHandler encapsulates the state of a file browser action. |
21 class FileBrowserHandler { | 21 class FileBrowserHandler { |
22 public: | 22 public: |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual ~FileBrowserHandlerParser(); | 92 virtual ~FileBrowserHandlerParser(); |
93 | 93 |
94 virtual bool Parse(extensions::Extension* extension, | 94 virtual bool Parse(extensions::Extension* extension, |
95 string16* error) OVERRIDE; | 95 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 |