summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 01:44:33 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 01:44:33 +0000
commit448cfef8bac645c54bb530576c729ff6a8a9c4a3 (patch)
treeaf01e3e6a38cd6ba6652b6f68cabc9a67aa959c0 /net
parent22713d61f52e556f34749c334520bec66c911dc7 (diff)
downloadchromium_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')
-rw-r--r--net/net.gyp1
-rw-r--r--net/proxy/proxy_resolver_perftest.cc4
2 files changed, 3 insertions, 2 deletions
diff --git a/net/net.gyp b/net/net.gyp
index ca42c26..4d66023 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -468,6 +468,7 @@
'../base/run_all_perftests.cc',
'base/cookie_monster_perftest.cc',
'disk_cache/disk_cache_perftest.cc',
+ 'proxy/proxy_resolver_perftest.cc',
],
'conditions': [
# This is needed to trigger the dll copy step on windows.
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;
}