OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
11 #include "chromeos/network/network_change_notifier_chromeos.h" | 11 #include "chromeos/network/network_change_notifier_chromeos.h" |
12 #include "chromeos/network/network_state.h" | 12 #include "chromeos/network/network_state.h" |
13 #include "chromeos/network/network_state_handler.h" | 13 #include "chromeos/network/network_state_handler.h" |
14 #include "net/base/network_change_notifier.h" | 14 #include "net/base/network_change_notifier.h" |
15 #include "net/dns/dns_config_service_posix.h" | 15 #include "net/dns/dns_config_service_posix.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 16 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // produce a single signal when switching between network connections. | 209 // produce a single signal when switching between network connections. |
210 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); | 210 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); |
211 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); | 211 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); |
212 params.connection_type_offline_delay_ = | 212 params.connection_type_offline_delay_ = |
213 base::TimeDelta::FromMilliseconds(500); | 213 base::TimeDelta::FromMilliseconds(500); |
214 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); | 214 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); |
215 return params; | 215 return params; |
216 } | 216 } |
217 | 217 |
218 } // namespace chromeos | 218 } // namespace chromeos |
OLD | NEW |