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

Unified Diff: chrome/browser/resources/settings/site_settings/constants.js

Issue 1838213002: Simplify Site Settings tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/site_details_permission.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/constants.js
diff --git a/chrome/browser/resources/settings/site_settings/constants.js b/chrome/browser/resources/settings/site_settings/constants.js
index f937c254dff5e793fba6506efe90b32110cdd38f..55f871efa94add5777d3cf10e878e45d6dcc4ff0 100644
--- a/chrome/browser/resources/settings/site_settings/constants.js
+++ b/chrome/browser/resources/settings/site_settings/constants.js
@@ -34,6 +34,15 @@ cr.define('settings', function() {
};
/**
+ * Contains the possible string values for a given contentSettingsType.
+ * @enum {string}
+ */
+ var PermissionStringValues = {
+ ALLOW: 'allow',
+ BLOCK: 'block',
+ };
+
+ /**
* A category value to use for the All Sites list.
* @const {number}
*/
@@ -48,6 +57,7 @@ cr.define('settings', function() {
return {
ContentSettingsTypes: ContentSettingsTypes,
PermissionValues: PermissionValues,
+ PermissionStringValues: PermissionStringValues,
ALL_SITES: ALL_SITES,
INVALID_CATEGORY_SUBTYPE: INVALID_CATEGORY_SUBTYPE,
};
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/site_details_permission.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698