Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1498)

Unified Diff: chrome/browser/net/dns_slave.h

Issue 14919: Platform cleanup in chrome/browser/net. (Closed)
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/dns_master_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_slave.h
diff --git a/chrome/browser/net/dns_slave.h b/chrome/browser/net/dns_slave.h
index 0d77d5eaf058cb8006f4794420cb54a25dc6e37b..6bbc17fe743e4967a4f61e6ade46b293acd4ac10 100644
--- a/chrome/browser/net/dns_slave.h
+++ b/chrome/browser/net/dns_slave.h
@@ -42,9 +42,9 @@ FreeAddrInfoFunction get_freeaddrinfo();
class DnsSlave {
public:
- DnsSlave(DnsMaster* master, int slave_index)
- : slave_index_(slave_index),
- master_(master) {
+ DnsSlave(DnsMaster* master, size_t slave_index)
+ : master_(master),
+ slave_index_(slave_index) {
}
~DnsSlave() {
@@ -59,7 +59,7 @@ class DnsSlave {
std::string hostname_; // Name being looked up.
DnsMaster* master_; // Master that started us.
- int slave_index_; // Our index into DnsMaster's array.
+ size_t slave_index_; // Our index into DnsMaster's array.
void BlockingDnsLookup();
« no previous file with comments | « chrome/browser/net/dns_master_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698