summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-23 00:53:33 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-23 00:53:33 +0000
commitd39701a7c22e03d899d1451003b0d853063fc27a (patch)
tree8c9f387625c0b216b157ed571171424d0c11a5bc
parentcb5212c18c3ae5c2081d548684f44b699b28e9df (diff)
downloadchromium_src-d39701a7c22e03d899d1451003b0d853063fc27a.zip
chromium_src-d39701a7c22e03d899d1451003b0d853063fc27a.tar.gz
chromium_src-d39701a7c22e03d899d1451003b0d853063fc27a.tar.bz2
Fix build break from my last checkin. I accidently removed -T from the parameters to gperf, which supresses adding the struct to the generated file for the second unit test hash.
TBR=brettw Review URL: http://codereview.chromium.org/518002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35198 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/base/effective_tld_names_unittest2.cc9
-rw-r--r--net/base/effective_tld_names_unittest2.gperf2
2 files changed, 3 insertions, 8 deletions
diff --git a/net/base/effective_tld_names_unittest2.cc b/net/base/effective_tld_names_unittest2.cc
index 8dcd448..17d1119 100644
--- a/net/base/effective_tld_names_unittest2.cc
+++ b/net/base/effective_tld_names_unittest2.cc
@@ -1,5 +1,5 @@
/* C++ code produced by gperf version 3.0.3 */
-/* Command-line: gperf -a -L C++ -C -c -o -t -k '*' -NFindDomain -ZPerfect_Hash_Test2 -D effective_tld_names_unittest2.gperf */
+/* Command-line: gperf -a -L C++ -C -c -o -t -k '*' -NFindDomain -ZPerfect_Hash_Test2 -D -T effective_tld_names_unittest2.gperf */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
@@ -35,13 +35,8 @@
// 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 -D effective_tld_names_unittest2.gperf > effective_tld_names_unittest2.cc
+// 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
// to generate the perfect hashmap.
-#line 10 "effective_tld_names_unittest2.gperf"
-struct DomainRule {
- const char *name;
- int type; // 1: exception, 2: wildcard
-};
#define TOTAL_KEYWORDS 2
#define MIN_WORD_LENGTH 2
diff --git a/net/base/effective_tld_names_unittest2.gperf b/net/base/effective_tld_names_unittest2.gperf
index 445b3c1..34eeb1f 100644
--- a/net/base/effective_tld_names_unittest2.gperf
+++ b/net/base/effective_tld_names_unittest2.gperf
@@ -4,7 +4,7 @@
// 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 -D effective_tld_names_unittest2.gperf > effective_tld_names_unittest2.cc
+// 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
// to generate the perfect hashmap.
%}
struct DomainRule {