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

Unified Diff: chrome/browser/extensions/api/autotest_private/autotest_private_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/autotest_private/autotest_private_api.cc
diff --git a/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc b/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
index c8a00b91086bb096c267c0a63b0cb926dc38201d..fdc9ca53403058f3e8df50a81fd05b24709f41de 100644
--- a/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
+++ b/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
@@ -66,21 +66,21 @@ bool IsTestMode(Profile* profile) {
} // namespace
-bool AutotestPrivateLogoutFunction::RunImpl() {
+bool AutotestPrivateLogoutFunction::RunSync() {
DVLOG(1) << "AutotestPrivateLogoutFunction";
if (!IsTestMode(GetProfile()))
chrome::AttemptUserExit();
return true;
}
-bool AutotestPrivateRestartFunction::RunImpl() {
+bool AutotestPrivateRestartFunction::RunSync() {
DVLOG(1) << "AutotestPrivateRestartFunction";
if (!IsTestMode(GetProfile()))
chrome::AttemptRestart();
return true;
}
-bool AutotestPrivateShutdownFunction::RunImpl() {
+bool AutotestPrivateShutdownFunction::RunSync() {
scoped_ptr<api::autotest_private::Shutdown::Params> params(
api::autotest_private::Shutdown::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
@@ -92,7 +92,7 @@ bool AutotestPrivateShutdownFunction::RunImpl() {
return true;
}
-bool AutotestPrivateLoginStatusFunction::RunImpl() {
+bool AutotestPrivateLoginStatusFunction::RunSync() {
DVLOG(1) << "AutotestPrivateLoginStatusFunction";
base::DictionaryValue* result(new base::DictionaryValue);
@@ -138,7 +138,7 @@ bool AutotestPrivateLoginStatusFunction::RunImpl() {
return true;
}
-bool AutotestPrivateLockScreenFunction::RunImpl() {
+bool AutotestPrivateLockScreenFunction::RunSync() {
DVLOG(1) << "AutotestPrivateLockScreenFunction";
#if defined(OS_CHROMEOS)
chromeos::DBusThreadManager::Get()->GetSessionManagerClient()->
@@ -147,7 +147,7 @@ bool AutotestPrivateLockScreenFunction::RunImpl() {
return true;
}
-bool AutotestPrivateGetExtensionsInfoFunction::RunImpl() {
+bool AutotestPrivateGetExtensionsInfoFunction::RunSync() {
DVLOG(1) << "AutotestPrivateGetExtensionsInfoFunction";
ExtensionService* service = extensions::ExtensionSystem::Get(
@@ -212,7 +212,7 @@ static int AccessArray(const volatile int arr[], const volatile int *index) {
return arr[*index];
}
-bool AutotestPrivateSimulateAsanMemoryBugFunction::RunImpl() {
+bool AutotestPrivateSimulateAsanMemoryBugFunction::RunSync() {
DVLOG(1) << "AutotestPrivateSimulateAsanMemoryBugFunction";
if (!IsTestMode(GetProfile())) {
// This array is volatile not to let compiler optimize us out.

Powered by Google App Engine
This is Rietveld 408576698