Index: chrome/browser/extensions/api/system_private/system_private_api.cc |
diff --git a/chrome/browser/extensions/api/system_private/system_private_api.cc b/chrome/browser/extensions/api/system_private/system_private_api.cc |
index d128aa247344e237e0fc6e013a779190220993f7..997e83eee9f54dff5962acd7561755901923fa59 100644 |
--- a/chrome/browser/extensions/api/system_private/system_private_api.cc |
+++ b/chrome/browser/extensions/api/system_private/system_private_api.cc |
@@ -79,8 +79,8 @@ SystemPrivateGetIncognitoModeAvailabilityFunction::Run() { |
EXTENSION_FUNCTION_VALIDATE( |
value >= 0 && |
value < static_cast<int>(arraysize(kIncognitoModeAvailabilityStrings))); |
- return RespondNow(OneArgument(base::MakeUnique<base::StringValue>( |
- kIncognitoModeAvailabilityStrings[value]))); |
+ return RespondNow(OneArgument( |
+ base::MakeUnique<base::Value>(kIncognitoModeAvailabilityStrings[value]))); |
} |
ExtensionFunction::ResponseAction SystemPrivateGetUpdateStatusFunction::Run() { |
@@ -145,8 +145,8 @@ ExtensionFunction::ResponseAction SystemPrivateGetUpdateStatusFunction::Run() { |
} |
ExtensionFunction::ResponseAction SystemPrivateGetApiKeyFunction::Run() { |
- return RespondNow(OneArgument( |
- base::MakeUnique<base::StringValue>(google_apis::GetAPIKey()))); |
+ return RespondNow( |
+ OneArgument(base::MakeUnique<base::Value>(google_apis::GetAPIKey()))); |
} |
void DispatchVolumeChangedEvent(double volume, bool is_volume_muted) { |