Index: chrome/browser/extensions/api/developer_private/developer_private_api.cc |
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.cc b/chrome/browser/extensions/api/developer_private/developer_private_api.cc |
index 5f9ce42c067715a70843a29d98ccac44d2a6897b..08e7ee787c65ab215b1e71dd506d884525e24656 100644 |
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.cc |
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.cc |
@@ -595,7 +595,7 @@ ItemInspectViewList DeveloperPrivateGetItemsInfoFunction:: |
return result; |
} |
-bool DeveloperPrivateGetItemsInfoFunction::RunImpl() { |
+bool DeveloperPrivateGetItemsInfoFunction::RunAsync() { |
scoped_ptr<developer::GetItemsInfo::Params> params( |
developer::GetItemsInfo::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
@@ -889,7 +889,7 @@ bool DeveloperPrivateInspectFunction::RunSync() { |
DeveloperPrivateInspectFunction::~DeveloperPrivateInspectFunction() {} |
-bool DeveloperPrivateLoadUnpackedFunction::RunImpl() { |
+bool DeveloperPrivateLoadUnpackedFunction::RunAsync() { |
base::string16 select_title = |
l10n_util::GetStringUTF16(IDS_EXTENSION_LOAD_FROM_DIRECTORY); |
@@ -946,7 +946,9 @@ bool DeveloperPrivateChooseEntryFunction::ShowPicker( |
return true; |
} |
-bool DeveloperPrivateChooseEntryFunction::RunImpl() { return false; } |
+bool DeveloperPrivateChooseEntryFunction::RunAsync() { |
+ return false; |
+} |
DeveloperPrivateChooseEntryFunction::~DeveloperPrivateChooseEntryFunction() {} |
@@ -980,7 +982,7 @@ void DeveloperPrivatePackDirectoryFunction::OnPackFailure( |
Release(); |
} |
-bool DeveloperPrivatePackDirectoryFunction::RunImpl() { |
+bool DeveloperPrivatePackDirectoryFunction::RunAsync() { |
scoped_ptr<PackDirectory::Params> params( |
PackDirectory::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1034,7 +1036,7 @@ DeveloperPrivatePackDirectoryFunction::~DeveloperPrivatePackDirectoryFunction() |
DeveloperPrivateLoadUnpackedFunction::~DeveloperPrivateLoadUnpackedFunction() {} |
-bool DeveloperPrivateLoadDirectoryFunction::RunImpl() { |
+bool DeveloperPrivateLoadDirectoryFunction::RunAsync() { |
// TODO(grv) : add unittests. |
std::string directory_url_str; |
std::string filesystem_name; |
@@ -1241,7 +1243,7 @@ DeveloperPrivateLoadDirectoryFunction::DeveloperPrivateLoadDirectoryFunction() |
DeveloperPrivateLoadDirectoryFunction::~DeveloperPrivateLoadDirectoryFunction() |
{} |
-bool DeveloperPrivateChoosePathFunction::RunImpl() { |
+bool DeveloperPrivateChoosePathFunction::RunAsync() { |
scoped_ptr<developer::ChoosePath::Params> params( |
developer::ChoosePath::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
@@ -1310,7 +1312,7 @@ DeveloperPrivateRequestFileSourceFunction:: |
DeveloperPrivateRequestFileSourceFunction:: |
~DeveloperPrivateRequestFileSourceFunction() {} |
-bool DeveloperPrivateRequestFileSourceFunction::RunImpl() { |
+bool DeveloperPrivateRequestFileSourceFunction::RunAsync() { |
scoped_ptr<developer::RequestFileSource::Params> params( |
developer::RequestFileSource::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
@@ -1334,13 +1336,13 @@ void DeveloperPrivateRequestFileSourceFunction::LaunchCallback( |
const base::DictionaryValue& results) { |
SetResult(results.DeepCopy()); |
SendResponse(true); |
- Release(); // Balanced in RunImpl(). |
+ Release(); // Balanced in RunAsync(). |
} |
DeveloperPrivateOpenDevToolsFunction::DeveloperPrivateOpenDevToolsFunction() {} |
DeveloperPrivateOpenDevToolsFunction::~DeveloperPrivateOpenDevToolsFunction() {} |
-bool DeveloperPrivateOpenDevToolsFunction::RunImpl() { |
+bool DeveloperPrivateOpenDevToolsFunction::RunAsync() { |
scoped_ptr<developer::OpenDevTools::Params> params( |
developer::OpenDevTools::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |