| Index: chrome/renderer/content_settings_observer.h
|
| diff --git a/chrome/renderer/content_settings_observer.h b/chrome/renderer/content_settings_observer.h
|
| index 4ab862328aebd4b589379efc8174ce1ae97b90c5..6d318ef0c193f2aede6c6fdf89e44615195c3cc8 100644
|
| --- a/chrome/renderer/content_settings_observer.h
|
| +++ b/chrome/renderer/content_settings_observer.h
|
| @@ -53,6 +53,8 @@ class ContentSettingsObserver
|
| const blink::WebString& display_name,
|
| unsigned long estimated_size);
|
| virtual bool allowFileSystem();
|
| + virtual void requestFileSystemAccess(
|
| + const blink::WebPermissionCallbacks& callbacks);
|
| virtual bool allowImage(bool enabled_per_settings,
|
| const blink::WebURL& image_url);
|
| virtual bool allowIndexedDB(const blink::WebString& name,
|
| @@ -98,6 +100,7 @@ class ContentSettingsObserver
|
| void OnSetAllowDisplayingInsecureContent(bool allow);
|
| void OnSetAllowRunningInsecureContent(bool allow);
|
| void OnReloadFrame();
|
| + void OnRequestFileSystemAccessResponse(int request_id, bool allowed);
|
|
|
| // Resets the |content_blocked_| array.
|
| void ClearBlockedContentSettings();
|
| @@ -141,6 +144,10 @@ class ContentSettingsObserver
|
| bool is_interstitial_page_;
|
| bool npapi_plugins_blocked_;
|
|
|
| + int current_request_id_;
|
| + typedef std::map<int, blink::WebPermissionCallbacks> PermissionRequestMap;
|
| + PermissionRequestMap permission_requests_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver);
|
| };
|
|
|
|
|