| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/net/dns_master.h" | 5 #include "chrome/browser/net/dns_master.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/histogram.h" | 12 #include "base/histogram.h" |
| 13 #include "base/lock.h" | 13 #include "base/lock.h" |
| 14 #include "base/ref_counted.h" | |
| 15 #include "base/stats_counters.h" | 14 #include "base/stats_counters.h" |
| 16 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 17 #include "base/time.h" | 16 #include "base/time.h" |
| 18 #include "net/base/address_list.h" | 17 #include "net/base/address_list.h" |
| 19 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
| 20 #include "net/base/host_resolver.h" | 19 #include "net/base/host_resolver.h" |
| 21 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
| 22 | 21 |
| 23 namespace chrome_browser_net { | 22 namespace chrome_browser_net { |
| 24 | 23 |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 Value* subresource_list; | 491 Value* subresource_list; |
| 493 if (!motivating_host->Get(1, &subresource_list)) | 492 if (!motivating_host->Get(1, &subresource_list)) |
| 494 continue; | 493 continue; |
| 495 if (motivating_referrer.empty()) | 494 if (motivating_referrer.empty()) |
| 496 continue; | 495 continue; |
| 497 referrers_[motivating_referrer].Deserialize(*subresource_list); | 496 referrers_[motivating_referrer].Deserialize(*subresource_list); |
| 498 } | 497 } |
| 499 } | 498 } |
| 500 | 499 |
| 501 } // namespace chrome_browser_net | 500 } // namespace chrome_browser_net |
| OLD | NEW |