Index: chrome/browser/extensions/api/downloads/downloads_api.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc |
index a89ed7ab1f10a4103c11b72b4598cc3f5ab1c901..aebdf945fef3c81681fbb0a839a5bd34fdf2fe4c 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc |
@@ -958,7 +958,7 @@ DownloadsDownloadFunction::DownloadsDownloadFunction() {} |
DownloadsDownloadFunction::~DownloadsDownloadFunction() {} |
-bool DownloadsDownloadFunction::RunImpl() { |
+bool DownloadsDownloadFunction::RunAsync() { |
scoped_ptr<downloads::Download::Params> params( |
downloads::Download::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1207,7 +1207,7 @@ DownloadsRemoveFileFunction::DownloadsRemoveFileFunction() { |
DownloadsRemoveFileFunction::~DownloadsRemoveFileFunction() { |
} |
-bool DownloadsRemoveFileFunction::RunImpl() { |
+bool DownloadsRemoveFileFunction::RunAsync() { |
scoped_ptr<downloads::RemoveFile::Params> params( |
downloads::RemoveFile::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1240,7 +1240,7 @@ DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {} |
DownloadsAcceptDangerFunction::OnPromptCreatedCallback* |
DownloadsAcceptDangerFunction::on_prompt_created_ = NULL; |
-bool DownloadsAcceptDangerFunction::RunImpl() { |
+bool DownloadsAcceptDangerFunction::RunAsync() { |
scoped_ptr<downloads::AcceptDanger::Params> params( |
downloads::AcceptDanger::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1317,7 +1317,7 @@ DownloadsShowFunction::DownloadsShowFunction() {} |
DownloadsShowFunction::~DownloadsShowFunction() {} |
-bool DownloadsShowFunction::RunImpl() { |
+bool DownloadsShowFunction::RunAsync() { |
scoped_ptr<downloads::Show::Params> params( |
downloads::Show::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1334,7 +1334,7 @@ DownloadsShowDefaultFolderFunction::DownloadsShowDefaultFolderFunction() {} |
DownloadsShowDefaultFolderFunction::~DownloadsShowDefaultFolderFunction() {} |
-bool DownloadsShowDefaultFolderFunction::RunImpl() { |
+bool DownloadsShowDefaultFolderFunction::RunAsync() { |
DownloadManager* manager = NULL; |
DownloadManager* incognito_manager = NULL; |
GetManagers(GetProfile(), include_incognito(), &manager, &incognito_manager); |
@@ -1372,7 +1372,7 @@ DownloadsDragFunction::DownloadsDragFunction() {} |
DownloadsDragFunction::~DownloadsDragFunction() {} |
-bool DownloadsDragFunction::RunImpl() { |
+bool DownloadsDragFunction::RunAsync() { |
scoped_ptr<downloads::Drag::Params> params( |
downloads::Drag::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1466,7 +1466,7 @@ void DownloadsGetFileIconFunction::SetIconExtractorForTesting( |
icon_extractor_.reset(extractor); |
} |
-bool DownloadsGetFileIconFunction::RunImpl() { |
+bool DownloadsGetFileIconFunction::RunAsync() { |
scoped_ptr<downloads::GetFileIcon::Params> params( |
downloads::GetFileIcon::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1568,7 +1568,7 @@ bool ExtensionDownloadsEventRouter::IsShelfEnabled() const { |
// |
// When the extension's event handler calls |suggestCallback|, |
// downloads_custom_bindings.js calls |
-// DownloadsInternalDetermineFilenameFunction::RunImpl, which calls |
+// DownloadsInternalDetermineFilenameFunction::RunAsync, which calls |
// EDER::DetermineFilename, which notifies the item's EDERD. |
// |
// When the last extension's event handler returns, EDERD calls one of the two |