| Index: extensions/common/manifest_handlers/file_handler_info.h
|
| diff --git a/extensions/common/manifest_handlers/file_handler_info.h b/extensions/common/manifest_handlers/file_handler_info.h
|
| index 90de31c3069cea530f47d61ce837a2c4868379a6..9903fd5df5c4008cc5ed16cf0943c42f96ce8e66 100644
|
| --- a/extensions/common/manifest_handlers/file_handler_info.h
|
| +++ b/extensions/common/manifest_handlers/file_handler_info.h
|
| @@ -31,6 +31,9 @@ struct FileHandlerInfo {
|
|
|
| // True if the handler can manage directories.
|
| bool include_directories;
|
| +
|
| + // A verb describing the intent of the handler.
|
| + std::string verb;
|
| };
|
|
|
| typedef std::vector<FileHandlerInfo> FileHandlersInfo;
|
| @@ -58,6 +61,16 @@ class FileHandlersParser : public ManifestHandler {
|
| DISALLOW_COPY_AND_ASSIGN(FileHandlersParser);
|
| };
|
|
|
| +namespace file_handler_verbs {
|
| +
|
| +// Supported verbs for file handlers.
|
| +extern const char kOpenWith[];
|
| +extern const char kAddTo[];
|
| +extern const char kPackWith[];
|
| +extern const char kShareWith[];
|
| +
|
| +} // namespace file_handler_verbs
|
| +
|
| } // namespace extensions
|
|
|
| #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_FILE_HANDLER_INFO_H_
|
|
|