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

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

Issue 5722003: Make DOMStorageDispatcherHost be a message filter (and rename it accordingly)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get rid of _DELAY_HANDLE macro Created 10 years 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 69012)
+++ chrome/browser/in_process_webkit/dom_storage_area.cc (working copy)
@@ -8,7 +8,6 @@
#include "chrome/browser/browser_thread.h"
#include "chrome/browser/content_settings/host_content_settings_map.h"
#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/common/render_messages.h"
#include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
@@ -56,8 +55,8 @@
NullableString16 DOMStorageArea::SetItem(
const string16& key, const string16& value,
- WebStorageArea::Result* result, DOMStorageDispatcherHost* sender) {
- if (!CheckContentSetting(key, value, sender)) {
+ WebStorageArea::Result* result) {
+ if (!CheckContentSetting(key, value)) {
*result = WebStorageArea::ResultBlockedByPolicy;
return NullableString16(true); // Ignored if the content was blocked.
}
@@ -92,8 +91,7 @@
}
bool DOMStorageArea::CheckContentSetting(
- const string16& key, const string16& value,
- DOMStorageDispatcherHost* sender) {
+ const string16& key, const string16& value) {
ContentSetting content_setting =
host_content_settings_map_->GetContentSetting(
origin_url_, CONTENT_SETTINGS_TYPE_COOKIES, "");

Powered by Google App Engine
This is Rietveld 408576698