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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.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/extensions/api/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index 0a6d793159110ce8101634ef8e02b52655916aea..0d3b68824c1497ed498de10e6185f1b362fc5c29 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -630,7 +630,7 @@ ExtensionFunction::ResponseAction FileSystemIsWritableEntryFunction::Run() {
filesystem_id);
return RespondNow(
- OneArgument(base::MakeUnique<base::FundamentalValue>(is_writable)));
+ OneArgument(base::MakeUnique<base::Value>(is_writable)));
}
// Handles showing a dialog to the user to ask for the filename for a file to
@@ -1195,7 +1195,7 @@ void FileSystemRetainEntryFunction::RetainFileEntry(
ExtensionFunction::ResponseAction FileSystemIsRestorableFunction::Run() {
std::string entry_id;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &entry_id));
- return RespondNow(OneArgument(base::MakeUnique<base::FundamentalValue>(
+ return RespondNow(OneArgument(base::MakeUnique<base::Value>(
SavedFilesService::Get(Profile::FromBrowserContext(browser_context()))
->IsRegistered(extension_->id(), entry_id))));
}

Powered by Google App Engine
This is Rietveld 408576698