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

Unified Diff: chrome/browser/extensions/extension_function_registry.cc

Issue 10639020: Switch the downloads API over to IDL/json_schema_compiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/browser/extensions/extension_function_registry.cc
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc
index d2a2621ab08e9d99ef656f55d0aaa6279c21f842..f85ecacac45d9d8423bc3e5c0a4368932c5b2b29 100644
--- a/chrome/browser/extensions/extension_function_registry.cc
+++ b/chrome/browser/extensions/extension_function_registry.cc
@@ -13,7 +13,6 @@
#include "chrome/browser/extensions/api/context_menu/context_menu_api.h"
#include "chrome/browser/extensions/api/cookies/cookies_api.h"
#include "chrome/browser/extensions/api/declarative/declarative_api.h"
-#include "chrome/browser/extensions/api/downloads/downloads_api.h"
#include "chrome/browser/extensions/api/extension_action/extension_browser_actions_api.h"
#include "chrome/browser/extensions/api/extension_action/extension_page_actions_api.h"
#include "chrome/browser/extensions/api/extension_action/extension_script_badge_api.h"
@@ -455,19 +454,6 @@ void ExtensionFunctionRegistry::ResetFunctions() {
RegisterFunction<RemovePermissionsFunction>();
RegisterFunction<RequestPermissionsFunction>();
- // Downloads
- RegisterFunction<DownloadsDownloadFunction>();
- RegisterFunction<DownloadsSearchFunction>();
- RegisterFunction<DownloadsPauseFunction>();
- RegisterFunction<DownloadsResumeFunction>();
- RegisterFunction<DownloadsCancelFunction>();
- RegisterFunction<DownloadsEraseFunction>();
- RegisterFunction<DownloadsSetDestinationFunction>();
- RegisterFunction<DownloadsAcceptDangerFunction>();
- RegisterFunction<DownloadsShowFunction>();
- RegisterFunction<DownloadsDragFunction>();
- RegisterFunction<DownloadsGetFileIconFunction>();
-
// PageCapture
RegisterFunction<PageCaptureSaveAsMHTMLFunction>();

Powered by Google App Engine
This is Rietveld 408576698