Index: extensions/browser/api/runtime/runtime_api.cc |
diff --git a/extensions/browser/api/runtime/runtime_api.cc b/extensions/browser/api/runtime/runtime_api.cc |
index f5644c4bafc3488e96d23599f71a274b65e74d76..bb4a1f742c4389cb6e9ee79f90ec5f8dcfa71ddb 100644 |
--- a/extensions/browser/api/runtime/runtime_api.cc |
+++ b/extensions/browser/api/runtime/runtime_api.cc |
@@ -155,8 +155,8 @@ void DispatchOnStartupEventImpl(BrowserContext* browser_context, |
void SetUninstallURL(ExtensionPrefs* prefs, |
const std::string& extension_id, |
const std::string& url_string) { |
- prefs->UpdateExtensionPref( |
- extension_id, kUninstallUrl, new base::StringValue(url_string)); |
+ prefs->UpdateExtensionPref(extension_id, kUninstallUrl, |
+ new base::Value(url_string)); |
} |
std::string GetUninstallURL(ExtensionPrefs* prefs, |
@@ -701,11 +701,11 @@ void RuntimeRequestUpdateCheckFunction::CheckComplete( |
if (result.success) { |
std::unique_ptr<base::DictionaryValue> details(new base::DictionaryValue); |
details->SetString("version", result.version); |
- Respond(TwoArguments(base::MakeUnique<base::StringValue>(result.response), |
+ Respond(TwoArguments(base::MakeUnique<base::Value>(result.response), |
std::move(details))); |
} else { |
// HMM(kalman): Why does !success not imply Error()? |
- Respond(OneArgument(base::MakeUnique<base::StringValue>(result.response))); |
+ Respond(OneArgument(base::MakeUnique<base::Value>(result.response))); |
} |
} |