Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: extensions/common/manifest_constants.cc

Issue 1872223002: Add verbs API to file handlers. Modify the Chrome OS UI so that it displayes the internationalized … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments mentioned by fukino@. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/manifest_constants.cc
diff --git a/extensions/common/manifest_constants.cc b/extensions/common/manifest_constants.cc
index 51b5570889cebfd86f4a3d0c54f99d5d0a710fdc..17cc94180b696ff4a6ff96c6992bf327824c83cc 100644
--- a/extensions/common/manifest_constants.cc
+++ b/extensions/common/manifest_constants.cc
@@ -50,6 +50,7 @@ const char kFileBrowserHandlers[] = "file_browser_handlers";
const char kFileHandlers[] = "file_handlers";
const char kFileHandlerExtensions[] = "extensions";
const char kFileHandlerTypes[] = "types";
+const char kFileHandlerVerb[] = "verb";
const char kGlobal[] = "global";
const char kHideBookmarkButton[] = "hide_bookmark_button";
const char kHomepageURL[] = "homepage_url";
@@ -406,6 +407,9 @@ const char kInvalidFileHandlerType[] =
"Invalid value for 'file_handlers[*].types'.";
const char kInvalidFileHandlerTypeElement[] =
"Invalid value for 'file_handlers[*].types[*]'.";
+const char kInvalidFileHandlerVerb[] =
+ "Invalid value for 'verb'. Supported values are OPEN_WITH, ADD_TO and "
fukino 2016/04/13 08:03:12 It will be tough to maintain the list [OPEN_WITH,A
cmihail 2016/04/18 01:28:10 Done.
+ "PACK_WITH.";
const char kInvalidGlob[] =
"Invalid value for 'content_scripts[*].*[*]'.";
const char kInvalidGlobList[] =

Powered by Google App Engine
This is Rietveld 408576698