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

Side by Side Diff: components/content_settings/core/browser/website_settings_registry.cc

Issue 2393103002: [Durable] Updated Durable heuristic to use 'important sites' (Closed)
Patch Set: windows test fix Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/content_settings/core/browser/website_settings_registry.h" 5 #include "components/content_settings/core/browser/website_settings_registry.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 DESKTOP | PLATFORM_ANDROID, 143 DESKTOP | PLATFORM_ANDROID,
144 WebsiteSettingsInfo::DONT_INHERIT_IN_INCOGNITO); 144 WebsiteSettingsInfo::DONT_INHERIT_IN_INCOGNITO);
145 Register(CONTENT_SETTINGS_TYPE_PROMPT_NO_DECISION_COUNT, 145 Register(CONTENT_SETTINGS_TYPE_PROMPT_NO_DECISION_COUNT,
146 "prompt-no-decision-count", nullptr, WebsiteSettingsInfo::UNSYNCABLE, 146 "prompt-no-decision-count", nullptr, WebsiteSettingsInfo::UNSYNCABLE,
147 WebsiteSettingsInfo::NOT_LOSSY, 147 WebsiteSettingsInfo::NOT_LOSSY,
148 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE, 148 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE,
149 DESKTOP | PLATFORM_ANDROID, 149 DESKTOP | PLATFORM_ANDROID,
150 WebsiteSettingsInfo::INHERIT_IN_INCOGNITO); 150 WebsiteSettingsInfo::INHERIT_IN_INCOGNITO);
151 Register(CONTENT_SETTINGS_TYPE_IMPORTANT_SITE_INFO, "important-site-info", 151 Register(CONTENT_SETTINGS_TYPE_IMPORTANT_SITE_INFO, "important-site-info",
152 nullptr, WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY, 152 nullptr, WebsiteSettingsInfo::UNSYNCABLE, WebsiteSettingsInfo::LOSSY,
153 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE, PLATFORM_ANDROID, 153 WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE,
154 DESKTOP | PLATFORM_ANDROID,
154 WebsiteSettingsInfo::INHERIT_IN_INCOGNITO); 155 WebsiteSettingsInfo::INHERIT_IN_INCOGNITO);
155 } 156 }
156 157
157 } // namespace content_settings 158 } // namespace content_settings
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698