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

Unified Diff: chrome/browser/extensions/api/browsing_data/browsing_data_api.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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/api/browsing_data/browsing_data_api.cc
===================================================================
--- chrome/browser/extensions/api/browsing_data/browsing_data_api.cc (revision 179687)
+++ chrome/browser/extensions/api/browsing_data/browsing_data_api.cc (working copy)
@@ -223,7 +223,7 @@
return mask;
}
-int RemoveBrowsingDataFunction::GetRemovalMask() const {
+int BrowsingDataRemoveFunction::GetRemovalMask() const {
// Parse the |dataToRemove| argument to generate the removal mask.
base::DictionaryValue* data_to_remove;
if (args_->GetDictionary(1, &data_to_remove))
@@ -232,51 +232,51 @@
return 0;
}
-int RemoveAppCacheFunction::GetRemovalMask() const {
+int BrowsingDataRemoveAppcacheFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_APPCACHE;
}
-int RemoveCacheFunction::GetRemovalMask() const {
+int BrowsingDataRemoveCacheFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_CACHE;
}
-int RemoveCookiesFunction::GetRemovalMask() const {
+int BrowsingDataRemoveCookiesFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_COOKIES |
BrowsingDataRemover::REMOVE_SERVER_BOUND_CERTS;
}
-int RemoveDownloadsFunction::GetRemovalMask() const {
+int BrowsingDataRemoveDownloadsFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_DOWNLOADS;
}
-int RemoveFileSystemsFunction::GetRemovalMask() const {
+int BrowsingDataRemoveFileSystemsFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_FILE_SYSTEMS;
}
-int RemoveFormDataFunction::GetRemovalMask() const {
+int BrowsingDataRemoveFormDataFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_FORM_DATA;
}
-int RemoveHistoryFunction::GetRemovalMask() const {
+int BrowsingDataRemoveHistoryFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_HISTORY;
}
-int RemoveIndexedDBFunction::GetRemovalMask() const {
+int BrowsingDataRemoveIndexedDBFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_INDEXEDDB;
}
-int RemoveLocalStorageFunction::GetRemovalMask() const {
+int BrowsingDataRemoveLocalStorageFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_LOCAL_STORAGE;
}
-int RemovePluginDataFunction::GetRemovalMask() const {
+int BrowsingDataRemovePluginDataFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_PLUGIN_DATA;
}
-int RemovePasswordsFunction::GetRemovalMask() const {
+int BrowsingDataRemovePasswordsFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_PASSWORDS;
}
-int RemoveWebSQLFunction::GetRemovalMask() const {
+int BrowsingDataRemoveWebSQLFunction::GetRemovalMask() const {
return BrowsingDataRemover::REMOVE_WEBSQL;
}

Powered by Google App Engine
This is Rietveld 408576698