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

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

Issue 12381035: Move Mime type handling to streamsPrivate API, so that it works on Desktop Chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Initialize test variable Created 7 years, 9 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: 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 f2bae23f67346d1d48473f41ad25cef5902b8d2f..2aa78839d8789e87a79d99bf9ac7d52cbfcf139e 100644
--- a/chrome/common/extensions/extension_manifest_constants.cc
+++ b/chrome/common/extensions/extension_manifest_constants.cc
@@ -71,6 +71,7 @@ const char kManifestVersion[] = "manifest_version";
const char kMatches[] = "matches";
const char kMinimumChromeVersion[] = "minimum_chrome_version";
const char kMIMETypes[] = "mime_types";
+const char kMimeTypesHandler[] = "mime_types_handler";
const char kName[] = "name";
const char kNaClModules[] = "nacl_modules";
const char kNaClModulesMIMEType[] = "mime_type";
@@ -256,8 +257,6 @@ const char kInvalidFileAccessValue[] =
"Invalid value for 'file_access[*]'.";
const char kInvalidFileBrowserHandler[] =
"Invalid value for 'file_browser_handlers'.";
-const char kInvalidFileBrowserHandlerMIMETypes[] =
- "Invalid value for 'file_browser_handlers.mime_types'";
const char kInvalidFileFiltersList[] =
"Invalid value for 'file_filters'.";
const char kInvalidFileFilterValue[] =
@@ -374,6 +373,10 @@ const char kInvalidMatchCount[] =
"one match specified.";
const char kInvalidMatches[] =
"Required value 'content_scripts[*].matches' is missing or invalid.";
+const char kInvalidMIMETypes[] =
+ "Invalid value for 'mime_types'";
+const char kInvalidMimeTypesHandler[] =
+ "Invalid value for 'mime_types'.";
const char kInvalidMinimumChromeVersion[] =
"Invalid value for 'minimum_chrome_version'.";
const char kInvalidName[] =
@@ -526,8 +529,8 @@ const char kMissingFile[] =
"At least one js or css file is required for 'content_scripts[*]'.";
const char kMultipleOverrides[] =
"An extension cannot override more than one page.";
-const char kNoPermissionForFileBrowserHandlerMIMETypes[] =
- "The extension is not allowed to use file_browser_handlers.mime_types key.";
+const char kNoPermissionForMIMETypes[] =
+ "The extension is not allowed to use mime_types key.";
const char kNoWildCardsInPaths[] =
"Wildcards are not allowed in extent URL pattern paths.";
const char kOneUISurfaceOnly[] =
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | chrome/common/extensions/mime_types_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698