summaryrefslogtreecommitdiff
path: root/chromium/net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf
blob: 03c2e2a909f7e1fa4e4cf9712cc549401e930fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%{
// 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
%%