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

Unified Diff: chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment 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/media_galleries_private/media_galleries_private_api.cc
diff --git a/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc b/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc
index 3bd212ac2c07fee57b00892da58666143cd0dc26..d54ee6e96b5f1244c3e096f0261cec61a39f49a7 100644
--- a/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc
+++ b/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc
@@ -159,7 +159,7 @@ MediaGalleriesPrivateAddGalleryWatchFunction::
~MediaGalleriesPrivateAddGalleryWatchFunction() {
}
-bool MediaGalleriesPrivateAddGalleryWatchFunction::RunImpl() {
+bool MediaGalleriesPrivateAddGalleryWatchFunction::RunAsync() {
DCHECK(GetProfile());
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
if (!render_view_host() || !render_view_host()->GetProcess())
@@ -245,7 +245,7 @@ MediaGalleriesPrivateRemoveGalleryWatchFunction::
~MediaGalleriesPrivateRemoveGalleryWatchFunction() {
}
-bool MediaGalleriesPrivateRemoveGalleryWatchFunction::RunImpl() {
+bool MediaGalleriesPrivateRemoveGalleryWatchFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
if (!render_view_host() || !render_view_host()->GetProcess())
return false;
@@ -304,7 +304,7 @@ MediaGalleriesPrivateGetAllGalleryWatchFunction::
~MediaGalleriesPrivateGetAllGalleryWatchFunction() {
}
-bool MediaGalleriesPrivateGetAllGalleryWatchFunction::RunImpl() {
+bool MediaGalleriesPrivateGetAllGalleryWatchFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
if (!render_view_host() || !render_view_host()->GetProcess())
return false;
@@ -342,7 +342,7 @@ MediaGalleriesPrivateRemoveAllGalleryWatchFunction::
~MediaGalleriesPrivateRemoveAllGalleryWatchFunction() {
}
-bool MediaGalleriesPrivateRemoveAllGalleryWatchFunction::RunImpl() {
+bool MediaGalleriesPrivateRemoveAllGalleryWatchFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
if (!render_view_host() || !render_view_host()->GetProcess())
return false;
@@ -377,7 +377,7 @@ MediaGalleriesPrivateGetHandlersFunction::
~MediaGalleriesPrivateGetHandlersFunction() {
}
-bool MediaGalleriesPrivateGetHandlersFunction::RunImpl() {
+bool MediaGalleriesPrivateGetHandlersFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
ExtensionService* service =

Powered by Google App Engine
This is Rietveld 408576698