| Index: extensions/browser/extension_function_dispatcher.cc
|
| diff --git a/extensions/browser/extension_function_dispatcher.cc b/extensions/browser/extension_function_dispatcher.cc
|
| index fb3b50d66b28fedf401c357d85df84a44ec02079..aadfa3b1665d03aef116b6ffffc1504e43d565d4 100644
|
| --- a/extensions/browser/extension_function_dispatcher.cc
|
| +++ b/extensions/browser/extension_function_dispatcher.cc
|
| @@ -378,6 +378,8 @@ void ExtensionFunctionDispatcher::DispatchWithCallbackInternal(
|
| if (violation_error.empty()) {
|
| scoped_ptr<base::ListValue> args(params.arguments.DeepCopy());
|
|
|
| + // See crbug.com/39178.
|
| + ExtensionsBrowserClient::Get()->PermitExternalProtocolHandler();
|
| NotifyApiFunctionCalled(
|
| extension->id(), params.name, args.Pass(), browser_context_);
|
| UMA_HISTOGRAM_SPARSE_SLOWLY("Extensions.FunctionCalls",
|
|
|