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

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: 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..2fd9e2f6fbe9f13a474ee92eb37d3a50b6613f27 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";
benwells 2012/11/01 04:00:55 Add a full stop. (to all of these).
jeremya 2012/11/01 04:21:41 Done.
+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