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

Unified Diff: chrome/browser/extensions/api/principals_private/principals_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/principals_private/principals_private_api.cc
diff --git a/chrome/browser/extensions/api/principals_private/principals_private_api.cc b/chrome/browser/extensions/api/principals_private/principals_private_api.cc
index a6ff8b62cfca03aec6e53486f5640c2d8c03b5c5..75b90a676e5623e492632a258b7b0521b4d8d2bf 100644
--- a/chrome/browser/extensions/api/principals_private/principals_private_api.cc
+++ b/chrome/browser/extensions/api/principals_private/principals_private_api.cc
@@ -13,16 +13,16 @@
namespace extensions {
-bool PrincipalsPrivateExtensionFunction::RunImpl() {
+bool PrincipalsPrivateExtensionFunction::RunSync() {
if (!switches::IsNewProfileManagement()) {
SetError(
"Need to enable new-profile-management to use principalsPrivate API.");
return false;
}
- return RunImplSafe();
+ return RunSyncSafe();
}
-bool PrincipalsPrivateSignOutFunction::RunImplSafe() {
+bool PrincipalsPrivateSignOutFunction::RunSyncSafe() {
Browser* browser = GetCurrentBrowser();
if (browser) {
profiles::LockProfile(browser->profile());
@@ -30,7 +30,7 @@ bool PrincipalsPrivateSignOutFunction::RunImplSafe() {
return true;
}
-bool PrincipalsPrivateShowAvatarBubbleFunction::RunImplSafe() {
+bool PrincipalsPrivateShowAvatarBubbleFunction::RunSyncSafe() {
Browser* browser = GetCurrentBrowser();
if (browser) {
browser->window()->ShowAvatarBubbleFromAvatarButton(

Powered by Google App Engine
This is Rietveld 408576698