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

Unified Diff: extensions/shell/browser/api/identity/identity_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/shell/browser/api/identity/identity_api.cc
diff --git a/extensions/shell/browser/api/identity/identity_api.cc b/extensions/shell/browser/api/identity/identity_api.cc
index b2b057c6c95a9dd50adf29eb0ee106826f3a3a3e..c1eccfd027c81699797fd30ea2f18227abdd8443 100644
--- a/extensions/shell/browser/api/identity/identity_api.cc
+++ b/extensions/shell/browser/api/identity/identity_api.cc
@@ -127,7 +127,7 @@ void IdentityGetAuthTokenFunction::OnGetTokenFailure(
void IdentityGetAuthTokenFunction::OnMintTokenSuccess(
const std::string& access_token,
int time_to_live) {
- Respond(OneArgument(base::MakeUnique<base::StringValue>(access_token)));
+ Respond(OneArgument(base::MakeUnique<base::Value>(access_token)));
Release(); // Balanced in Run().
}
« no previous file with comments | « extensions/renderer/argument_spec.cc ('k') | headless/lib/browser/devtools_api/domain_type_conversions_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698