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

Unified Diff: chrome/browser/automation/automation_provider.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/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 996224704325cc9ac0050c170d740fc9f01becca..271d8b1966bd5bced3ce12fa6a283f442599954b 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -4495,7 +4495,7 @@ void AutomationProvider::SetContentSetting(
map->SetDefaultContentSetting(content_type, setting);
} else {
map->SetContentSetting(HostContentSettingsMap::Pattern(host),
- content_type, setting);
+ content_type, "", setting);
}
*success = true;
}

Powered by Google App Engine
This is Rietveld 408576698