| Index: chrome/browser/extensions/api/webview/webview_api.cc
|
| diff --git a/chrome/browser/extensions/api/webview/webview_api.cc b/chrome/browser/extensions/api/webview/webview_api.cc
|
| index a4be01abb53280aa8921fa495f9395cd0bf4b5e7..4fe40592f8a99cef68f97f910c6e00f45746e96e 100644
|
| --- a/chrome/browser/extensions/api/webview/webview_api.cc
|
| +++ b/chrome/browser/extensions/api/webview/webview_api.cc
|
| @@ -59,7 +59,7 @@ bool WebviewExtensionFunction::RunImpl() {
|
|
|
| // TODO(lazyboy): Add checks similar to
|
| // WebviewExtensionFunction::RunImplSafe(WebViewGuest*).
|
| -bool WebviewContextMenusCreateFunction::RunImpl() {
|
| +bool WebviewContextMenusCreateFunction::RunSync() {
|
| scoped_ptr<webview::ContextMenusCreate::Params> params(
|
| webview::ContextMenusCreate::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -89,7 +89,7 @@ bool WebviewContextMenusCreateFunction::RunImpl() {
|
| return success;
|
| }
|
|
|
| -bool WebviewContextMenusUpdateFunction::RunImpl() {
|
| +bool WebviewContextMenusUpdateFunction::RunSync() {
|
| scoped_ptr<webview::ContextMenusUpdate::Params> params(
|
| webview::ContextMenusUpdate::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -112,7 +112,7 @@ bool WebviewContextMenusUpdateFunction::RunImpl() {
|
| return success;
|
| }
|
|
|
| -bool WebviewContextMenusRemoveFunction::RunImpl() {
|
| +bool WebviewContextMenusRemoveFunction::RunSync() {
|
| scoped_ptr<webview::ContextMenusRemove::Params> params(
|
| webview::ContextMenusRemove::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -148,7 +148,7 @@ bool WebviewContextMenusRemoveFunction::RunImpl() {
|
| return success;
|
| }
|
|
|
| -bool WebviewContextMenusRemoveAllFunction::RunImpl() {
|
| +bool WebviewContextMenusRemoveAllFunction::RunSync() {
|
| scoped_ptr<webview::ContextMenusRemoveAll::Params> params(
|
| webview::ContextMenusRemoveAll::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
|
|