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

Unified Diff: chrome/common/extensions/api/file_handlers/file_handlers_parser.cc

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback, less hacky Created 6 years, 7 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/api/file_handlers/file_handlers_parser.cc
diff --git a/chrome/common/extensions/api/file_handlers/file_handlers_parser.cc b/chrome/common/extensions/api/file_handlers/file_handlers_parser.cc
index 8a55ed7660dba26c6aafb70aa3cbf9056813b088..742d5052f805ae8a7a6d61f598a09a17f976330b 100644
--- a/chrome/common/extensions/api/file_handlers/file_handlers_parser.cc
+++ b/chrome/common/extensions/api/file_handlers/file_handlers_parser.cc
@@ -116,8 +116,6 @@ bool FileHandlersParser::Parse(Extension* extension, base::string16* error) {
return false;
}
- DCHECK(extension->is_platform_app());
-
for (base::DictionaryValue::Iterator iter(*all_handlers); !iter.IsAtEnd();
iter.Advance()) {
// A file handler entry is a title and a list of MIME types to handle.

Powered by Google App Engine
This is Rietveld 408576698