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

Unified Diff: chrome/browser/extensions/api/feedback_private/feedback_private_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: chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
diff --git a/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc b/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
index bf70275158a6c8abbbb8fc8272dec24c61e226b2..e94081c6edbd186511b16a9ae4f24a2d22cf6d60 100644
--- a/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
+++ b/chrome/browser/extensions/api/feedback_private/feedback_private_api.cc
@@ -223,7 +223,7 @@ ExtensionFunction::ResponseAction FeedbackPrivateGetStringsFunction::Run() {
ExtensionFunction::ResponseAction FeedbackPrivateGetUserEmailFunction::Run() {
SigninManagerBase* signin_manager = SigninManagerFactory::GetForProfile(
Profile::FromBrowserContext(browser_context()));
- return RespondNow(OneArgument(base::MakeUnique<base::StringValue>(
+ return RespondNow(OneArgument(base::MakeUnique<base::Value>(
signin_manager ? signin_manager->GetAuthenticatedAccountInfo().email
: std::string())));
}

Powered by Google App Engine
This is Rietveld 408576698