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

Unified Diff: chrome/browser/extensions/api/system_storage/system_storage_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/system_storage/system_storage_api.cc
diff --git a/chrome/browser/extensions/api/system_storage/system_storage_api.cc b/chrome/browser/extensions/api/system_storage/system_storage_api.cc
index 6d8da0dad97873d39c290e5d34e67da0084272d5..3b8407d4eee11e873b60a1d8f5776410cc2b77bb 100644
--- a/chrome/browser/extensions/api/system_storage/system_storage_api.cc
+++ b/chrome/browser/extensions/api/system_storage/system_storage_api.cc
@@ -18,7 +18,7 @@ SystemStorageGetInfoFunction::SystemStorageGetInfoFunction() {
SystemStorageGetInfoFunction::~SystemStorageGetInfoFunction() {
}
-bool SystemStorageGetInfoFunction::RunImpl() {
+bool SystemStorageGetInfoFunction::RunAsync() {
StorageInfoProvider::Get()->StartQueryInfo(
base::Bind(&SystemStorageGetInfoFunction::OnGetStorageInfoCompleted,
this));
@@ -39,7 +39,7 @@ void SystemStorageGetInfoFunction::OnGetStorageInfoCompleted(bool success) {
SystemStorageEjectDeviceFunction::~SystemStorageEjectDeviceFunction() {
}
-bool SystemStorageEjectDeviceFunction::RunImpl() {
+bool SystemStorageEjectDeviceFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
scoped_ptr<EjectDevice::Params> params(EjectDevice::Params::Create(*args_));
@@ -103,7 +103,7 @@ SystemStorageGetAvailableCapacityFunction::
~SystemStorageGetAvailableCapacityFunction() {
}
-bool SystemStorageGetAvailableCapacityFunction::RunImpl() {
+bool SystemStorageGetAvailableCapacityFunction::RunAsync() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
scoped_ptr<GetAvailableCapacity::Params> params(
« no previous file with comments | « chrome/browser/extensions/api/system_storage/system_storage_api.h ('k') | chrome/browser/extensions/api/tabs/tabs_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698