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

Unified Diff: chrome/browser/extensions/api/module/module.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bookmarks Created 6 years, 8 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
diff --git a/chrome/browser/extensions/api/module/module.cc b/chrome/browser/extensions/api/module/module.cc
index 87b2d33182116e9b419b0f572595f9c12f55c7a2..07e1f8a473a370204f45c437597fc19574dd1053 100644
--- a/chrome/browser/extensions/api/module/module.cc
+++ b/chrome/browser/extensions/api/module/module.cc
@@ -36,7 +36,7 @@ std::string GetUpdateURLData(const ExtensionPrefs* prefs,
} // namespace extension
-bool ExtensionSetUpdateUrlDataFunction::RunImpl() {
+bool ExtensionSetUpdateUrlDataFunction::RunSync() {
std::string data;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &data));
@@ -51,13 +51,13 @@ bool ExtensionSetUpdateUrlDataFunction::RunImpl() {
return true;
}
-bool ExtensionIsAllowedIncognitoAccessFunction::RunImpl() {
+bool ExtensionIsAllowedIncognitoAccessFunction::RunSync() {
SetResult(new base::FundamentalValue(
util::IsIncognitoEnabled(extension_id(), GetProfile())));
return true;
}
-bool ExtensionIsAllowedFileSchemeAccessFunction::RunImpl() {
+bool ExtensionIsAllowedFileSchemeAccessFunction::RunSync() {
SetResult(new base::FundamentalValue(
util::AllowFileAccess(extension_id(), GetProfile())));
return true;

Powered by Google App Engine
This is Rietveld 408576698