Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 1b066baf2c0073dc3fecb26b07c89c4f3e91b1f2..b7ffc30cfe1c31ce97baa978ed33cce0dbe3871a 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -692,6 +692,15 @@ void WebContentsImpl::RunFileChooser( |
delegate_->RunFileChooser(this, params); |
} |
+scoped_ptr<BluetoothChooser> WebContentsImpl::RunBluetoothChooser( |
+ BluetoothChooser::Observer* observer, |
+ int chooser_id, |
+ const GURL& origin) { |
+ if (delegate_) |
ortuno
2015/08/17 21:12:59
What about using the ternary operator here as well
Jeffrey Yasskin
2015/08/17 23:38:16
In general, I find uses of the ternary operator ha
|
+ return delegate_->RunBluetoothChooser(this, observer, chooser_id, origin); |
+ return nullptr; |
+} |
+ |
NavigationControllerImpl& WebContentsImpl::GetController() { |
return controller_; |
} |