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

Unified Diff: chrome/browser/extensions/api/runtime/runtime_api.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/runtime/runtime_api.cc
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc
index 49028e475784f593f1189d6fe5d7da6c863f3cdb..59ff72e0808f7698d84f63e0121ca8d253629b29 100644
--- a/chrome/browser/extensions/api/runtime/runtime_api.cc
+++ b/chrome/browser/extensions/api/runtime/runtime_api.cc
@@ -499,7 +499,7 @@ void RuntimeGetBackgroundPageFunction::OnPageLoaded(ExtensionHost* host) {
}
}
-bool RuntimeSetUninstallURLFunction::RunImpl() {
+bool RuntimeSetUninstallURLFunction::RunSync() {
std::string url_string;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url_string));
@@ -514,7 +514,7 @@ bool RuntimeSetUninstallURLFunction::RunImpl() {
return true;
}
-bool RuntimeReloadFunction::RunImpl() {
+bool RuntimeReloadFunction::RunSync() {
RuntimeAPI::GetFactoryInstance()->Get(GetProfile())->MaybeReloadExtension(
extension_id());
return true;
@@ -592,7 +592,7 @@ void RuntimeRequestUpdateCheckFunction::ReplyUpdateFound(
SendResponse(true);
}
-bool RuntimeRestartFunction::RunImpl() {
+bool RuntimeRestartFunction::RunSync() {
#if defined(OS_CHROMEOS)
if (chromeos::UserManager::Get()->IsLoggedInAsKioskApp()) {
chromeos::DBusThreadManager::Get()
@@ -605,7 +605,7 @@ bool RuntimeRestartFunction::RunImpl() {
return false;
}
-bool RuntimeGetPlatformInfoFunction::RunImpl() {
+bool RuntimeGetPlatformInfoFunction::RunSync() {
GetPlatformInfo::Results::PlatformInfo info;
const char* os = chrome::OmahaQueryParams::GetOS();
@@ -654,7 +654,7 @@ bool RuntimeGetPlatformInfoFunction::RunImpl() {
return true;
}
-bool RuntimeGetPackageDirectoryEntryFunction::RunImpl() {
+bool RuntimeGetPackageDirectoryEntryFunction::RunSync() {
fileapi::IsolatedContext* isolated_context =
fileapi::IsolatedContext::GetInstance();
DCHECK(isolated_context);
« no previous file with comments | « chrome/browser/extensions/api/runtime/runtime_api.h ('k') | chrome/browser/extensions/api/sessions/sessions_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698