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

Unified Diff: net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf

Issue 15140003: Add support for split Public Suffix List distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 7 years, 7 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: net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf
diff --git a/net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf b/net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf
index 7100908007b5728057db9044e287d1bd924ffaff..3ab56e112298b7a4048b14bd8e4d81308bace56e 100644
--- a/net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf
+++ b/net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf
@@ -10,14 +10,18 @@
struct DomainRule {
const char *name;
int type; // 1: exception, 2: wildcard
+ bool is_private;
};
%%
-jp, 0
-ac.jp, 0
-bar.jp, 2
-baz.bar.jp, 2
-pref.bar.jp, 1
-bar.baz.com, 0
-c, 2
-b.c, 1
+jp, 0, false
+ac.jp, 0, false
+bar.jp, 2, false
+baz.bar.jp, 2, false
+pref.bar.jp, 1, false
+bar.baz.com, 0, false
+c, 2, false
+b.c, 1, false
+no, 0, false
+priv.no, 0, true
+private, 0, true
%%

Powered by Google App Engine
This is Rietveld 408576698