summaryrefslogtreecommitdiffstats
path: root/chromeos
diff options
context:
space:
mode:
authorstevenjb <stevenjb@chromium.org>2015-07-30 17:33:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-31 00:34:39 +0000
commite69e9fdf1504d6119dedc7aad613aff6c27b8664 (patch)
tree66ccc0e4239fab0bab5ff1d7ba8ec92870fd2932 /chromeos
parentfc45eccd277933730eef0d14b0cfdb017f1151fe (diff)
downloadchromium_src-e69e9fdf1504d6119dedc7aad613aff6c27b8664.zip
chromium_src-e69e9fdf1504d6119dedc7aad613aff6c27b8664.tar.gz
chromium_src-e69e9fdf1504d6119dedc7aad613aff6c27b8664.tar.bz2
Replace 'Scanning' text in Network Status Area with throbber
This CL: * Removes the 'Scanning' text from the network list * When scanning starts: Starts the throbber (which fades in), and fades the info button out. Clicking on the Throbber is the same as clicking on the info button. * When scanning stops: Stops the throbber (which fades out) and fades the info button in. BUG=490532 Review URL: https://codereview.chromium.org/1270623002 Cr-Commit-Position: refs/heads/master@{#341242}
Diffstat (limited to 'chromeos')
-rw-r--r--chromeos/dbus/fake_shill_manager_client.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc
index a92fae1..1a6f37f 100644
--- a/chromeos/dbus/fake_shill_manager_client.cc
+++ b/chromeos/dbus/fake_shill_manager_client.cc
@@ -185,6 +185,7 @@ void FakeShillManagerClient::SetProperty(const std::string& name,
void FakeShillManagerClient::RequestScan(const std::string& type,
const base::Closure& callback,
const ErrorCallback& error_callback) {
+ VLOG(1) << "RequestScan: " << type;
// For Stub purposes, default to a Wifi scan.
std::string device_type = shill::kTypeWifi;
if (!type.empty())
@@ -1031,7 +1032,7 @@ void FakeShillManagerClient::ScanCompleted(const std::string& device_path,
shill::kScanningProperty,
base::FundamentalValue(false));
}
- VLOG(2) << "ScanCompleted";
+ VLOG(1) << "ScanCompleted";
CallNotifyObserversPropertyChanged(shill::kServiceCompleteListProperty);
base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, callback);
}