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

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

Issue 2784933002: Mitigate spoofing attempt using Latin letters. (Closed)
Patch Set: add similarity check unittests Created 3 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
Index: net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf
diff --git a/net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf b/net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf
deleted file mode 100644
index 03c2e2a909f7e1fa4e4cf9712cc549401e930fe3..0000000000000000000000000000000000000000
--- a/net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf
+++ /dev/null
@@ -1,17 +0,0 @@
-%{
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-// Test file used by registry_controlled_domain_unittest.
-// We edit this file manually, then run
-// gperf -a -L "C++" -C -c -o -t -k '*' -NFindDomain -ZPerfect_Hash_Test2 -P -K name_offset -Q stringpool2 -D -T effective_tld_names_unittest2.gperf > effective_tld_names_unittest2.cc
-// to generate the perfect hashmap.
-%}
-struct DomainRule {
- int name_offset;
- int type; // 1: exception, 2: wildcard, 4: private
-};
-%%
-jp, 0
-bar.jp, 0
-%%

Powered by Google App Engine
This is Rietveld 408576698