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

Unified Diff: chrome/browser/chromeos/network_state_notifier.cc

Issue 3031016: Increase network state change notification delay to 2seconds. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 5 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/network_state_notifier.cc
diff --git a/chrome/browser/chromeos/network_state_notifier.cc b/chrome/browser/chromeos/network_state_notifier.cc
index 3ee696c1bf8db805f5d03dbcde757311291297a9..52c96b43c20f6ce18f31b5b4e80c2c4fc1779e45 100644
--- a/chrome/browser/chromeos/network_state_notifier.cc
+++ b/chrome/browser/chromeos/network_state_notifier.cc
@@ -38,14 +38,14 @@ NetworkStateNotifier::NetworkStateNotifier()
void NetworkStateNotifier::NetworkChanged(NetworkLibrary* cros) {
DCHECK(CrosLibrary::Get()->EnsureLoaded());
- // Update the state 1 seconds later using UI thread.
+ // Update the state 2 seconds later using UI thread.
// See http://crosbug.com/4558
ChromeThread::PostDelayedTask(
ChromeThread::UI, FROM_HERE,
task_factory_.NewRunnableMethod(
&NetworkStateNotifier::UpdateNetworkState,
RetrieveState()),
- 1000);
+ 2000);
}
void NetworkStateNotifier::UpdateNetworkState(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698