| Index: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| index 6aa8e1fe4e98dc1da0640579ea9fee794db09076..c49798d764f261c46692fb2e4b9c0184739108bf 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| @@ -371,6 +371,13 @@ void StorageManagerHandler::UpdateOtherUsersSize() {
|
| base::Bind(&StorageManagerHandler::OnGetOtherUserSize,
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
| + // We should show "0 B" if there is no other user.
|
| + if (other_users_.empty()) {
|
| + updating_other_users_size_ = false;
|
| + web_ui()->CallJavascriptFunctionUnsafe(
|
| + "options.StorageManager.setOtherUsersSize",
|
| + base::StringValue(ui::FormatBytes(0)));
|
| + }
|
| }
|
|
|
| void StorageManagerHandler::OnGetOtherUserSize(bool success, int64_t size) {
|
|
|