Index: chrome/browser/extensions/api/instance_id/instance_id_api.cc |
diff --git a/chrome/browser/extensions/api/instance_id/instance_id_api.cc b/chrome/browser/extensions/api/instance_id/instance_id_api.cc |
index afa6dafb41a271e559eb992255486c6d86cbddf1..0a897d47a7a7acf69445da555abae69d04e00d47 100644 |
--- a/chrome/browser/extensions/api/instance_id/instance_id_api.cc |
+++ b/chrome/browser/extensions/api/instance_id/instance_id_api.cc |
@@ -95,7 +95,7 @@ ExtensionFunction::ResponseAction InstanceIDGetIDFunction::DoWork() { |
} |
void InstanceIDGetIDFunction::GetIDCompleted(const std::string& id) { |
- Respond(OneArgument(base::MakeUnique<base::StringValue>(id))); |
+ Respond(OneArgument(base::MakeUnique<base::Value>(id))); |
} |
InstanceIDGetCreationTimeFunction::InstanceIDGetCreationTimeFunction() {} |
@@ -141,7 +141,7 @@ void InstanceIDGetTokenFunction::GetTokenCompleted( |
const std::string& token, |
instance_id::InstanceID::Result result) { |
if (result == instance_id::InstanceID::SUCCESS) |
- Respond(OneArgument(base::MakeUnique<base::StringValue>(token))); |
+ Respond(OneArgument(base::MakeUnique<base::Value>(token))); |
else |
Respond(Error(InstanceIDResultToError(result))); |
} |