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

Unified Diff: chrome/common/extensions/extension_manifest_constants.cc

Issue 11360026: Add the "file_handlers" manifest key for platform apps to replace "intents". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 8 years, 1 month 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: chrome/common/extensions/extension_manifest_constants.cc
diff --git a/chrome/common/extensions/extension_manifest_constants.cc b/chrome/common/extensions/extension_manifest_constants.cc
index 0b2944d1530277aeb5aeb787e76a1cb130eda6d3..f8ee6e6b29b888e9d7bf5f60a4876ceca2d6b457 100644
--- a/chrome/common/extensions/extension_manifest_constants.cc
+++ b/chrome/common/extensions/extension_manifest_constants.cc
@@ -33,6 +33,9 @@ const char kExcludeMatches[] = "exclude_matches";
const char kFileAccessList[] = "file_access";
const char kFileFilters[] = "file_filters";
const char kFileBrowserHandlers[] = "file_browser_handlers";
+const char kFileHandlers[] = "file_handlers";
+const char kFileHandlerTitle[] = "title";
+const char kFileHandlerTypes[] = "types";
const char kHomepageURL[] = "homepage_url";
const char kIcons[] = "icons";
const char kId[] = "id";
@@ -244,6 +247,14 @@ const char kInvalidFileFiltersList[] =
"Invalid value for 'file_filters'.";
const char kInvalidFileFilterValue[] =
"Invalid value for 'file_filters[*]'.";
+const char kInvalidFileHandlers[] =
+ "Invalid value for 'file_handlers'.";
+const char kInvalidFileHandlerTitle[] =
+ "Invalid value for 'file_handlers[*].title'.";
+const char kInvalidFileHandlerType[] =
+ "Invalid value for 'file_handlers[*].type'.";
+const char kInvalidFileHandlerTypeElement[] =
+ "Invalid value for 'file_handlers[*].type[*]'.";
const char kInvalidGlob[] =
"Invalid value for 'content_scripts[*].*[*]'.";
const char kInvalidGlobList[] =

Powered by Google App Engine
This is Rietveld 408576698