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

Unified Diff: extensions/browser/api/system_storage/system_storage_api.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: extensions/browser/api/system_storage/system_storage_api.cc
diff --git a/extensions/browser/api/system_storage/system_storage_api.cc b/extensions/browser/api/system_storage/system_storage_api.cc
index 3bd5ecfa68521df078c83e9011bc3a4523291c69..ebc0ae56915d19c74fe019d1ac8ce431397c7b9d 100644
--- a/extensions/browser/api/system_storage/system_storage_api.cc
+++ b/extensions/browser/api/system_storage/system_storage_api.cc
@@ -89,8 +89,8 @@ void SystemStorageEjectDeviceFunction::HandleResponse(
result = api::system_storage::EJECT_DEVICE_RESULT_CODE_FAILURE;
}
- Respond(OneArgument(base::MakeUnique<base::StringValue>(
- api::system_storage::ToString(result))));
+ Respond(OneArgument(
+ base::MakeUnique<base::Value>(api::system_storage::ToString(result))));
}
SystemStorageGetAvailableCapacityFunction::
« no previous file with comments | « extensions/browser/api/storage/storage_frontend_unittest.cc ('k') | extensions/browser/api/test/test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698