| 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 91c66b31d505e5d8571c7f3bfd88b4a69932e09b..17aeea57c724f4d4156fa9c5253a24d2e2ff6b7a 100644
|
| --- a/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| +++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| @@ -1079,7 +1079,7 @@ DownloadsSearchFunction::DownloadsSearchFunction() {}
|
|
|
| DownloadsSearchFunction::~DownloadsSearchFunction() {}
|
|
|
| -bool DownloadsSearchFunction::RunImpl() {
|
| +bool DownloadsSearchFunction::RunSync() {
|
| scoped_ptr<downloads::Search::Params> params(
|
| downloads::Search::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1119,7 +1119,7 @@ DownloadsPauseFunction::DownloadsPauseFunction() {}
|
|
|
| DownloadsPauseFunction::~DownloadsPauseFunction() {}
|
|
|
| -bool DownloadsPauseFunction::RunImpl() {
|
| +bool DownloadsPauseFunction::RunSync() {
|
| scoped_ptr<downloads::Pause::Params> params(
|
| downloads::Pause::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1140,7 +1140,7 @@ DownloadsResumeFunction::DownloadsResumeFunction() {}
|
|
|
| DownloadsResumeFunction::~DownloadsResumeFunction() {}
|
|
|
| -bool DownloadsResumeFunction::RunImpl() {
|
| +bool DownloadsResumeFunction::RunSync() {
|
| scoped_ptr<downloads::Resume::Params> params(
|
| downloads::Resume::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1161,7 +1161,7 @@ DownloadsCancelFunction::DownloadsCancelFunction() {}
|
|
|
| DownloadsCancelFunction::~DownloadsCancelFunction() {}
|
|
|
| -bool DownloadsCancelFunction::RunImpl() {
|
| +bool DownloadsCancelFunction::RunSync() {
|
| scoped_ptr<downloads::Resume::Params> params(
|
| downloads::Resume::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1180,7 +1180,7 @@ DownloadsEraseFunction::DownloadsEraseFunction() {}
|
|
|
| DownloadsEraseFunction::~DownloadsEraseFunction() {}
|
|
|
| -bool DownloadsEraseFunction::RunImpl() {
|
| +bool DownloadsEraseFunction::RunSync() {
|
| scoped_ptr<downloads::Erase::Params> params(
|
| downloads::Erase::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1355,7 +1355,7 @@ DownloadsOpenFunction::DownloadsOpenFunction() {}
|
|
|
| DownloadsOpenFunction::~DownloadsOpenFunction() {}
|
|
|
| -bool DownloadsOpenFunction::RunImpl() {
|
| +bool DownloadsOpenFunction::RunSync() {
|
| scoped_ptr<downloads::Open::Params> params(
|
| downloads::Open::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -1406,7 +1406,7 @@ DownloadsSetShelfEnabledFunction::DownloadsSetShelfEnabledFunction() {}
|
|
|
| DownloadsSetShelfEnabledFunction::~DownloadsSetShelfEnabledFunction() {}
|
|
|
| -bool DownloadsSetShelfEnabledFunction::RunImpl() {
|
| +bool DownloadsSetShelfEnabledFunction::RunSync() {
|
| scoped_ptr<downloads::SetShelfEnabled::Params> params(
|
| downloads::SetShelfEnabled::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
|
|