| Index: content/public/browser/content_browser_client.cc
|
| diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
|
| index 7802b852ed7fcc3874eb6fa3fd8c3cf3dc953dd8..9f19fa9044a08aaedbedf38b99fc200cf57630de 100644
|
| --- a/content/public/browser/content_browser_client.cc
|
| +++ b/content/public/browser/content_browser_client.cc
|
| @@ -217,11 +217,18 @@ void ContentBrowserClient::RequestGeolocationPermission(
|
| int bridge_id,
|
| const GURL& requesting_frame,
|
| bool user_gesture,
|
| - base::Callback<void(bool)> result_callback,
|
| - base::Closure* cancel_callback) {
|
| + const base::Callback<void(bool)>& result_callback) {
|
| result_callback.Run(true);
|
| }
|
|
|
| +// TODO(miguelg): Create a small interface to represent a permission request
|
| +// instead of adding one method per permission and action.
|
| +void ContentBrowserClient::CancelGeolocationPermissionRequest(
|
| + WebContents* web_contents,
|
| + int bridge_id,
|
| + const GURL& requesting_frame) {
|
| +}
|
| +
|
| void ContentBrowserClient::RequestMidiSysExPermission(
|
| WebContents* web_contents,
|
| int bridge_id,
|
|
|