diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 01:44:33 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 01:44:33 +0000 |
commit | 448cfef8bac645c54bb530576c729ff6a8a9c4a3 (patch) | |
tree | af01e3e6a38cd6ba6652b6f68cabc9a67aa959c0 /net/proxy | |
parent | 22713d61f52e556f34749c334520bec66c911dc7 (diff) | |
download | chromium_src-448cfef8bac645c54bb530576c729ff6a8a9c4a3.zip chromium_src-448cfef8bac645c54bb530576c729ff6a8a9c4a3.tar.gz chromium_src-448cfef8bac645c54bb530576c729ff6a8a9c4a3.tar.bz2 |
Add the proxy resolver perftest to GYP.
BUG=2764
Review URL: http://codereview.chromium.org/39239
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_resolver_perftest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/proxy/proxy_resolver_perftest.cc b/net/proxy/proxy_resolver_perftest.cc index dcaf7e6..3ad7d2a0 100644 --- a/net/proxy/proxy_resolver_perftest.cc +++ b/net/proxy/proxy_resolver_perftest.cc @@ -23,7 +23,7 @@ struct PacQuery { }; // Entry listing which PAC scripts to load, and which URLs to try resolving. -// |queries| should be terminated by {NULL, NULL}. A sentinel is used +// |queries| should be terminated by {NULL, NULL}. A sentinel is used // rather than a length, to simplify using initializer lists. struct PacPerfTest { const char* pac_name; @@ -57,7 +57,7 @@ static PacPerfTest kPerfTests[] = { }; int PacPerfTest::NumQueries() const { - for (int i = 0; i < arraysize(queries); ++i) { + for (size_t i = 0; i < arraysize(queries); ++i) { if (queries[i].query_url == NULL) return i; } |