OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "net/http/http_server_properties_manager.h" | 5 #include "net/http/http_server_properties_manager.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "base/metrics/histogram_macros.h" | 11 #include "base/metrics/histogram_macros.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/stringprintf.h" | |
16 #include "base/threading/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/values.h" | 16 #include "base/values.h" |
18 #include "net/base/ip_address.h" | 17 #include "net/base/ip_address.h" |
19 #include "net/base/port_util.h" | 18 #include "net/base/port_util.h" |
20 #include "url/gurl.h" | 19 #include "url/gurl.h" |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 | 22 |
24 namespace { | 23 namespace { |
25 | 24 |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 quic_servers_dict); | 1115 quic_servers_dict); |
1117 } | 1116 } |
1118 | 1117 |
1119 void HttpServerPropertiesManager::OnHttpServerPropertiesChanged() { | 1118 void HttpServerPropertiesManager::OnHttpServerPropertiesChanged() { |
1120 DCHECK(pref_task_runner_->RunsTasksOnCurrentThread()); | 1119 DCHECK(pref_task_runner_->RunsTasksOnCurrentThread()); |
1121 if (!setting_prefs_) | 1120 if (!setting_prefs_) |
1122 ScheduleUpdateCacheOnPrefThread(); | 1121 ScheduleUpdateCacheOnPrefThread(); |
1123 } | 1122 } |
1124 | 1123 |
1125 } // namespace net | 1124 } // namespace net |
OLD | NEW |