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

Unified Diff: extensions/browser/api/metrics_private/metrics_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: extensions/browser/api/metrics_private/metrics_private_api.cc
diff --git a/extensions/browser/api/metrics_private/metrics_private_api.cc b/extensions/browser/api/metrics_private/metrics_private_api.cc
index 844a056c04f2328d6683dd0a46bd113f917676e6..c1be31677ea1e27af472507f52ffa651ab2a0be4 100644
--- a/extensions/browser/api/metrics_private/metrics_private_api.cc
+++ b/extensions/browser/api/metrics_private/metrics_private_api.cc
@@ -52,8 +52,8 @@ ExtensionFunction::ResponseAction MetricsPrivateGetFieldTrialFunction::Run() {
std::string name;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &name));
- return RespondNow(OneArgument(base::MakeUnique<base::StringValue>(
- base::FieldTrialList::FindFullName(name))));
+ return RespondNow(OneArgument(
+ base::MakeUnique<base::Value>(base::FieldTrialList::FindFullName(name))));
}
ExtensionFunction::ResponseAction
« no previous file with comments | « extensions/browser/api/idle/idle_manager.cc ('k') | extensions/browser/api/networking_private/networking_private_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698