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

Unified Diff: chrome/browser/extensions/api/module/module.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, 10 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/module/module.cc
===================================================================
--- chrome/browser/extensions/api/module/module.cc (revision 181773)
+++ chrome/browser/extensions/api/module/module.cc (working copy)
@@ -12,11 +12,11 @@
namespace extensions {
-ExtensionPrefs* SetUpdateUrlDataFunction::extension_prefs() {
+ExtensionPrefs* ExtensionSetUpdateUrlDataFunction::extension_prefs() {
return profile()->GetExtensionService()->extension_prefs();
}
-bool SetUpdateUrlDataFunction::RunImpl() {
+bool ExtensionSetUpdateUrlDataFunction::RunImpl() {
std::string data;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &data));
@@ -24,7 +24,7 @@
return true;
}
-bool IsAllowedIncognitoAccessFunction::RunImpl() {
+bool ExtensionIsAllowedIncognitoAccessFunction::RunImpl() {
ExtensionService* ext_service = profile()->GetExtensionService();
const Extension* extension = GetExtension();
@@ -33,7 +33,7 @@
return true;
}
-bool IsAllowedFileSchemeAccessFunction::RunImpl() {
+bool ExtensionIsAllowedFileSchemeAccessFunction::RunImpl() {
ExtensionService* ext_service = profile()->GetExtensionService();
const Extension* extension = GetExtension();
« no previous file with comments | « chrome/browser/extensions/api/module/module.h ('k') | chrome/browser/extensions/api/system_private/system_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698