Index: chrome/browser/geolocation/chrome_geolocation_permission_context.h |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context.h b/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
index 0c7e600335367a3ad3e4ca8347b78bc974de1151..ef1383879d9671b94fc9f0480a14b271314b5767 100644 |
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
@@ -69,6 +69,7 @@ class ChromeGeolocationPermissionContext |
const PermissionRequestID& id, |
const GURL& requesting_frame, |
const GURL& embedder, |
+ const std::string& accept_button_label, |
base::Callback<void(bool)> callback); |
// Called when permission is granted without interactively asking |
@@ -89,6 +90,13 @@ class ChromeGeolocationPermissionContext |
// Removes any pending InfoBar request. |
void CancelPendingInfobarRequest(const PermissionRequestID& id); |
+ // Creates and show an info bar. |
+ void CreateInfoBarRequest(const PermissionRequestID& id, |
+ const GURL& requesting_frame, |
+ const GURL& embedder, |
+ const std::string accept_button_label, |
+ base::Callback<void(bool)> callback); |
+ |
// These must only be accessed from the UI thread. |
Profile* const profile_; |
bool shutting_down_; |