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

Unified Diff: chrome/common/extensions/extension.h

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.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 2ac6083b32411e928d0c678ccd1c3f0f7b8958ba..623a76c65b9189c2f4846720e03f9a363773cdc4 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -895,6 +895,10 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
const base::DictionaryValue& intent_service,
string16* error);
bool LoadWebIntentServices(string16* error);
+ bool LoadFileHandler(const std::string& handler_id,
+ const base::DictionaryValue& handler_info,
+ string16* error);
+ bool LoadFileHandlers(string16* error);
bool LoadExtensionFeatures(const APIPermissionSet& api_permissions,
string16* error);
bool LoadDevToolsPage(string16* error);

Powered by Google App Engine
This is Rietveld 408576698