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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc

Issue 2663163002: MD settings: Storage: Add DELETE button for deleting Drive offline files. (Closed)
Patch Set: Use <iron-icon icon="cr:delete"> instead of copying svg. Created 3 years, 10 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 | « chrome/browser/resources/settings/device_page/storage.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
index 3d68dc90d9c671a8d2966b6e92d46c4d15cf470b..7e2ebbc188435ccbc6384178b2c59462682e0ad9 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
@@ -217,7 +217,8 @@ void StorageHandler::OnGetDriveCacheSize(int64_t size) {
updating_drive_cache_size_ = false;
CallJavascriptFunction("cr.webUIListenerCallback",
base::StringValue("storage-drive-cache-size-changed"),
- base::StringValue(ui::FormatBytes(size)));
+ base::StringValue(ui::FormatBytes(size)),
+ base::FundamentalValue(size > 0));
}
void StorageHandler::UpdateBrowsingDataSize() {
« no previous file with comments | « chrome/browser/resources/settings/device_page/storage.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698