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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc

Issue 2792573002: Remove base::Value::CreateNullValue (Closed)
Patch Set: Rebase Created 3 years, 8 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: chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
index 40b22eadf7a88539ac7c40a2083e4735fa6ab6a0..fbf927a4f782890dd000c1a8ee4ad26ffff58fbe 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
@@ -336,7 +336,7 @@ bool FileManagerPrivateRequestWebStoreAccessTokenFunction::RunAsync() {
"CWS OAuth token fetch failed. OAuth2TokenService can't "
"be retrieved.");
}
- SetResult(base::Value::CreateNullValue());
+ SetResult(base::MakeUnique<base::Value>());
return false;
}
@@ -373,7 +373,7 @@ void FileManagerPrivateRequestWebStoreAccessTokenFunction::OnAccessTokenFetched(
"CWS OAuth token fetch failed. (DriveApiErrorCode: %s)",
google_apis::DriveApiErrorCodeToString(code).c_str());
}
- SetResult(base::Value::CreateNullValue());
+ SetResult(base::MakeUnique<base::Value>());
SendResponse(false);
}
}
« no previous file with comments | « cc/benchmarks/invalidation_benchmark.cc ('k') | chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698