| Index: chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| index a75a885165ab4eed3a944822ea72b697f4c899dc..ca503066403631b981df127f7818117009c3d22f 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| @@ -309,7 +309,7 @@ ExtensionFunction::ResponseAction FileManagerPrivateGrantAccessFunction::Run() {
|
| void FileWatchFunctionBase::Respond(bool success) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| - SetResult(base::MakeUnique<base::FundamentalValue>(success));
|
| + SetResult(base::MakeUnique<base::Value>(success));
|
| SendResponse(success);
|
| }
|
|
|
| @@ -515,7 +515,7 @@ bool FileManagerPrivateInternalValidatePathNameLengthFunction::RunAsync() {
|
|
|
| // No explicit limit on the length of Drive file names.
|
| if (file_system_url.type() == storage::kFileSystemTypeDrive) {
|
| - SetResult(base::MakeUnique<base::FundamentalValue>(true));
|
| + SetResult(base::MakeUnique<base::Value>(true));
|
| SendResponse(true);
|
| return true;
|
| }
|
| @@ -532,8 +532,7 @@ bool FileManagerPrivateInternalValidatePathNameLengthFunction::RunAsync() {
|
|
|
| void FileManagerPrivateInternalValidatePathNameLengthFunction::
|
| OnFilePathLimitRetrieved(size_t current_length, size_t max_length) {
|
| - SetResult(
|
| - base::MakeUnique<base::FundamentalValue>(current_length <= max_length));
|
| + SetResult(base::MakeUnique<base::Value>(current_length <= max_length));
|
| SendResponse(true);
|
| }
|
|
|
| @@ -693,7 +692,7 @@ void FileManagerPrivateInternalStartCopyFunction::RunAfterStartCopy(
|
| int operation_id) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| - SetResult(base::MakeUnique<base::FundamentalValue>(operation_id));
|
| + SetResult(base::MakeUnique<base::Value>(operation_id));
|
| SendResponse(true);
|
| }
|
|
|
| @@ -901,7 +900,7 @@ void FileManagerPrivateSearchFilesByHashesFunction::OnSearchByHashes(
|
|
|
| ExtensionFunction::ResponseAction
|
| FileManagerPrivateIsUMAEnabledFunction::Run() {
|
| - return RespondNow(OneArgument(base::MakeUnique<base::FundamentalValue>(
|
| + return RespondNow(OneArgument(base::MakeUnique<base::Value>(
|
| ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled())));
|
| }
|
|
|
| @@ -998,8 +997,7 @@ bool FileManagerPrivateInternalGetDirectorySizeFunction::RunAsync() {
|
|
|
| void FileManagerPrivateInternalGetDirectorySizeFunction::
|
| OnDirectorySizeRetrieved(int64_t size) {
|
| - SetResult(
|
| - base::MakeUnique<base::FundamentalValue>(static_cast<double>(size)));
|
| + SetResult(base::MakeUnique<base::Value>(static_cast<double>(size)));
|
| SendResponse(true);
|
| }
|
|
|
|
|