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

Side by Side Diff: chrome/browser/in_process_webkit/dom_storage_area.cc

Issue 5676004: Cleanup: Remove unneeded browser_thread.h usage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/in_process_webkit/dom_storage_area.h" 5 #include "chrome/browser/in_process_webkit/dom_storage_area.h"
6 6
7 #include "base/task.h" 7 #include "base/task.h"
8 #include "chrome/browser/browser_thread.h"
9 #include "chrome/browser/content_settings/host_content_settings_map.h" 8 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/in_process_webkit/dom_storage_context.h" 9 #include "chrome/browser/in_process_webkit/dom_storage_context.h"
11 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h" 10 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h"
12 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h" 11 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h"
13 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 15 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
17 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
18 #include "webkit/glue/webkit_glue.h" 17 #include "webkit/glue/webkit_glue.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 91 }
93 92
94 bool DOMStorageArea::CheckContentSetting( 93 bool DOMStorageArea::CheckContentSetting(
95 const string16& key, const string16& value, 94 const string16& key, const string16& value,
96 DOMStorageDispatcherHost* sender) { 95 DOMStorageDispatcherHost* sender) {
97 ContentSetting content_setting = 96 ContentSetting content_setting =
98 host_content_settings_map_->GetContentSetting( 97 host_content_settings_map_->GetContentSetting(
99 origin_url_, CONTENT_SETTINGS_TYPE_COOKIES, ""); 98 origin_url_, CONTENT_SETTINGS_TYPE_COOKIES, "");
100 return (content_setting != CONTENT_SETTING_BLOCK); 99 return (content_setting != CONTENT_SETTING_BLOCK);
101 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698