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

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

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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
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 858fab411039767bd1a1bb7e0f9fa1048780573a..6315f701b0b8d18e0f3ea0616a8c051c8885f870 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc
@@ -210,7 +210,7 @@ void StorageHandler::UpdateDriveCacheSize() {
// Shows the item "Offline cache" and start calculating size.
CallJavascriptFunction("cr.webUIListenerCallback",
base::StringValue("storage-drive-enabled-changed"),
- base::FundamentalValue(true));
+ base::Value(true));
updating_drive_cache_size_ = true;
file_system->CalculateCacheSize(
base::Bind(&StorageHandler::OnGetDriveCacheSize, base::Unretained(this)));
@@ -354,7 +354,7 @@ void StorageHandler::UpdateAndroidSize() {
// Shows the item "Android apps and cache" and start calculating size.
CallJavascriptFunction("cr.webUIListenerCallback",
base::StringValue("storage-android-enabled-changed"),
- base::FundamentalValue(true));
+ base::Value(true));
bool success = arc::ArcStorageManager::Get()->GetApplicationsSize(
base::Bind(&StorageHandler::OnGetAndroidSize,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698