1 %{ 2 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that 4 // can be found in the LICENSE file. 5 // Test file used by registry_controlled_domain_unittest. 6 // We edit this file manually, then run 7 // gperf -a -L "C++" -C -c -o -t -k '*' -NFindDomain -ZPerfect_Hash_Test2 -D -T effective_tld_names_unittest2.gperf > effective_tld_names_unittest2.cc 8 // to generate the perfect hashmap. 9 %} 10 struct DomainRule { 11 const char *name; 12 int type; // 1: exception, 2: wildcard 13 }; 14 %% 15 jp, 0 16 bar.jp, 0 17 %% 18