summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:04:50 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:04:50 +0000
commit2c62b561f63579ac835af49ba233c56ca03417ca (patch)
tree83db5b274cfc8d90b126f473268eb78fcfb97e8d /chrome/browser/net
parent3bfd411d26d35f46fd0b2b11e0849f0acc174e39 (diff)
downloadchromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.zip
chromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.tar.gz
chromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.tar.bz2
render_* work.
Review URL: http://codereview.chromium.org/18650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/dns_master.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/net/dns_master.h b/chrome/browser/net/dns_master.h
index 7620d7c..f406b32 100644
--- a/chrome/browser/net/dns_master.h
+++ b/chrome/browser/net/dns_master.h
@@ -174,12 +174,17 @@ class DnsMaster {
size_t slave_count_; // Count of slave processes started.
size_t running_slave_count_; // Count of slaves process still running.
+ // TODO(jrg): wait for CL 15076 from _ph to come in which resolves
+ // this. In the short term this file is hacked to be happy when
+ // included in render_process.h.
+#if defined(OS_WIN)
// The following arrays are only initialized as
// slave_count_ grows (up to the indicated max).
DWORD thread_ids_[kSlaveCountMax];
HANDLE thread_handles_[kSlaveCountMax];
DnsSlave* slaves_[kSlaveCountMax];
-
+#endif
+
// shutdown_ is set to tell the slaves to terminate.
bool shutdown_;