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

Unified Diff: chrome/browser/content_setting_bubble_model.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/content_setting_bubble_model.cc
===================================================================
--- chrome/browser/content_setting_bubble_model.cc (revision 59533)
+++ chrome/browser/content_setting_bubble_model.cc (working copy)
@@ -88,9 +88,7 @@
tab_contents()->GetTabSpecificContentSettings()->IsContentAccessed(
content_type()) &&
!tab_contents()->GetTabSpecificContentSettings()->IsContentBlocked(
- content_type()) &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableCookiePrompt)) {
+ content_type())) {
title_ids = kAccessedTitleIDs;
} else if (!bubble_content().resource_identifiers.empty()) {
title_ids = kResourceSpecificBlockedTitleIDs;
@@ -127,9 +125,7 @@
Profile* profile,
ContentSettingsType content_type)
: ContentSettingTitleAndLinkModel(tab_contents, profile, content_type) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableCookiePrompt))
- SetInfoLink();
+ SetInfoLink();
}
private:

Powered by Google App Engine
This is Rietveld 408576698