Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1050)

Unified Diff: chrome/browser/in_process_webkit/dom_storage_area.cc

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/in_process_webkit/dom_storage_area.cc
===================================================================
--- chrome/browser/in_process_webkit/dom_storage_area.cc (revision 59533)
+++ chrome/browser/in_process_webkit/dom_storage_area.cc (working copy)
@@ -9,7 +9,6 @@
#include "chrome/browser/in_process_webkit/dom_storage_context.h"
#include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h"
#include "chrome/browser/in_process_webkit/dom_storage_namespace.h"
-#include "chrome/browser/in_process_webkit/dom_storage_permission_request.h"
#include "chrome/browser/host_content_settings_map.h"
#include "chrome/common/render_messages.h"
#include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
@@ -98,18 +97,5 @@
ContentSetting content_setting =
host_content_settings_map_->GetContentSetting(
origin_url_, CONTENT_SETTINGS_TYPE_COOKIES, "");
-
- if (content_setting == CONTENT_SETTING_ASK) {
- DOMStoragePermissionRequest request(origin_url_, key, value,
- host_content_settings_map_);
- ChromeThread::PostTask(
- ChromeThread::UI, FROM_HERE,
- NewRunnableFunction(&DOMStoragePermissionRequest::PromptUser,
- &request));
- // Tell the renderer that it needs to run a nested message loop.
- sender->Send(new ViewMsg_SignalCookiePromptEvent());
- content_setting = request.WaitOnResponse();
- }
-
return (content_setting != CONTENT_SETTING_BLOCK);
}

Powered by Google App Engine
This is Rietveld 408576698