diff options
author | esprehn <esprehn@chromium.org> | 2016-03-15 22:25:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-16 05:26:26 +0000 |
commit | c0abde3118df9cfad79e85479a9f137d5b24b0fd (patch) | |
tree | 58a05a89da8f5558c2588302da2dbb135496d908 /chrome/renderer | |
parent | 9b39fa15a01e930a8ff2a5a53a2fd13c73482bb9 (diff) | |
download | chromium_src-c0abde3118df9cfad79e85479a9f137d5b24b0fd.zip chromium_src-c0abde3118df9cfad79e85479a9f137d5b24b0fd.tar.gz chromium_src-c0abde3118df9cfad79e85479a9f137d5b24b0fd.tar.bz2 |
Remove WebWorkerContentSettingsClientProxy::allowDatabase, it's dead code.
Review URL: https://codereview.chromium.org/1764343002
Cr-Commit-Position: refs/heads/master@{#381396}
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/worker_content_settings_client_proxy.cc | 14 | ||||
-rw-r--r-- | chrome/renderer/worker_content_settings_client_proxy.h | 3 |
2 files changed, 0 insertions, 17 deletions
diff --git a/chrome/renderer/worker_content_settings_client_proxy.cc b/chrome/renderer/worker_content_settings_client_proxy.cc index ce38f34..a98867c 100644 --- a/chrome/renderer/worker_content_settings_client_proxy.cc +++ b/chrome/renderer/worker_content_settings_client_proxy.cc @@ -31,20 +31,6 @@ WorkerContentSettingsClientProxy::WorkerContentSettingsClientProxy( WorkerContentSettingsClientProxy::~WorkerContentSettingsClientProxy() {} -bool WorkerContentSettingsClientProxy::allowDatabase( - const blink::WebString& name, - const blink::WebString& display_name, - unsigned long estimated_size) { - if (is_unique_origin_) - return false; - - bool result = false; - sync_message_filter_->Send(new ChromeViewHostMsg_AllowDatabase( - routing_id_, document_origin_url_, top_frame_origin_url_, - name, display_name, &result)); - return result; -} - bool WorkerContentSettingsClientProxy::requestFileSystemAccessSync() { if (is_unique_origin_) return false; diff --git a/chrome/renderer/worker_content_settings_client_proxy.h b/chrome/renderer/worker_content_settings_client_proxy.h index 1a9739d..1e843a2 100644 --- a/chrome/renderer/worker_content_settings_client_proxy.h +++ b/chrome/renderer/worker_content_settings_client_proxy.h @@ -32,9 +32,6 @@ class WorkerContentSettingsClientProxy ~WorkerContentSettingsClientProxy() override; // WebWorkerContentSettingsClientProxy overrides. - bool allowDatabase(const blink::WebString& name, - const blink::WebString& display_name, - unsigned long estimated_size) override; bool requestFileSystemAccessSync() override; bool allowIndexedDB(const blink::WebString& name) override; |