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

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

Issue 21050002: Move browsing data API functions registrations out of ExtensionFunctionRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 774328d13ef969eefef2ab666fd784d0696204b2..cfedc16485b3580fa37bd73421e36183b416daea 100644
--- a/chrome/browser/extensions/extension_function_registry.cc
+++ b/chrome/browser/extensions/extension_function_registry.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/extensions/extension_function_registry.h"
-#include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h"
#include "chrome/browser/extensions/api/identity/experimental_identity_api.h"
#include "chrome/browser/extensions/api/preference/chrome_direct_setting.h"
#include "chrome/browser/extensions/api/preference/preference_api.h"
@@ -31,22 +30,6 @@ void ExtensionFunctionRegistry::ResetFunctions() {
// Register all functions here.
- // Browsing Data.
- RegisterFunction<BrowsingDataSettingsFunction>();
- RegisterFunction<RemoveBrowsingDataFunction>();
- RegisterFunction<RemoveAppCacheFunction>();
- RegisterFunction<RemoveCacheFunction>();
- RegisterFunction<RemoveCookiesFunction>();
- RegisterFunction<RemoveDownloadsFunction>();
- RegisterFunction<RemoveFileSystemsFunction>();
- RegisterFunction<RemoveFormDataFunction>();
- RegisterFunction<RemoveHistoryFunction>();
- RegisterFunction<RemoveIndexedDBFunction>();
- RegisterFunction<RemoveLocalStorageFunction>();
- RegisterFunction<RemovePluginDataFunction>();
- RegisterFunction<RemovePasswordsFunction>();
- RegisterFunction<RemoveWebSQLFunction>();
-
// RLZ (not supported on ChromeOS yet).
#if defined(ENABLE_RLZ) && !defined(OS_CHROMEOS)
RegisterFunction<RlzRecordProductEventFunction>();
« no previous file with comments | « chrome/browser/extensions/api/browsing_data/browsing_data_test.cc ('k') | chrome/common/extensions/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698