Chromium Code Reviews| 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 06b324d0e21bba688826007791262660252128e5..3dd3d22e86f19919d9209c4c7cd2a7c63b9336e3 100644 |
| --- a/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
| +++ b/chrome/browser/geolocation/chrome_geolocation_permission_context.h |
| @@ -84,6 +84,12 @@ 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, |
| + base::Callback<void(bool)> callback); |
|
bulach
2013/09/04 18:48:53
nit: indentation
acleung1
2013/09/05 21:50:16
Done.
|
| + |
| // These must only be accessed from the UI thread. |
| Profile* const profile_; |
| bool shutting_down_; |