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" | |
8 #include "base/bind.h" | 7 #include "base/bind.h" |
9 #include "base/location.h" | 8 #include "base/location.h" |
10 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
11 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
12 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
13 #include "chromeos/dbus/dbus_thread_manager.h" | 12 #include "chromeos/dbus/dbus_thread_manager.h" |
14 #include "chromeos/network/network_change_notifier_chromeos.h" | 13 #include "chromeos/network/network_change_notifier_chromeos.h" |
15 #include "chromeos/network/network_event_log.h" | 14 #include "chromeos/network/network_event_log.h" |
16 #include "chromeos/network/network_state.h" | 15 #include "chromeos/network/network_state.h" |
17 #include "chromeos/network/network_state_handler.h" | 16 #include "chromeos/network/network_state_handler.h" |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // produce a single signal when switching between network connections. | 302 // produce a single signal when switching between network connections. |
304 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); | 303 params.ip_address_offline_delay_ = base::TimeDelta::FromMilliseconds(4000); |
305 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); | 304 params.ip_address_online_delay_ = base::TimeDelta::FromMilliseconds(1000); |
306 params.connection_type_offline_delay_ = | 305 params.connection_type_offline_delay_ = |
307 base::TimeDelta::FromMilliseconds(500); | 306 base::TimeDelta::FromMilliseconds(500); |
308 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); | 307 params.connection_type_online_delay_ = base::TimeDelta::FromMilliseconds(500); |
309 return params; | 308 return params; |
310 } | 309 } |
311 | 310 |
312 } // namespace chromeos | 311 } // namespace chromeos |
OLD | NEW |