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

Unified Diff: chrome/browser/renderer_host/database_dispatcher_host.cc

Issue 2878075: Introduce a resource identifier for content settings. (Closed)
Patch Set: updates Created 10 years, 4 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/renderer_host/database_dispatcher_host.cc
diff --git a/chrome/browser/renderer_host/database_dispatcher_host.cc b/chrome/browser/renderer_host/database_dispatcher_host.cc
index b4f0d5ec206eee4350257a131f117a822cf71178..32908fac681bd0de050fe1babfb855d609d95535 100644
--- a/chrome/browser/renderer_host/database_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/database_dispatcher_host.cc
@@ -389,7 +389,7 @@ void DatabaseDispatcherHost::OnAllowDatabase(const std::string& origin_url,
GURL url = GURL(origin_url);
ContentSetting content_setting =
host_content_settings_map_->GetContentSetting(
- url, CONTENT_SETTINGS_TYPE_COOKIES);
+ url, CONTENT_SETTINGS_TYPE_COOKIES, "");
if (content_setting == CONTENT_SETTING_ASK) {
// Create a task for each possible outcome.
scoped_ptr<Task> on_allow(NewRunnableMethod(
« no previous file with comments | « chrome/browser/net/chrome_cookie_policy.cc ('k') | chrome/browser/renderer_host/database_permission_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698