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

Unified Diff: components/proximity_auth/webui/proximity_auth_webui_handler.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: components/proximity_auth/webui/proximity_auth_webui_handler.cc
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.cc b/components/proximity_auth/webui/proximity_auth_webui_handler.cc
index 834d8af0dfe4cbf857d16180b31ffa86418010dd..943a485dbb687095f8c405403111058c70f3c9a8 100644
--- a/components/proximity_auth/webui/proximity_auth_webui_handler.cc
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.cc
@@ -368,7 +368,7 @@ void ProximityAuthWebUIHandler::ToggleConnection(const base::ListValue* args) {
void ProximityAuthWebUIHandler::OnCryptAuthClientError(
const std::string& error_message) {
PA_LOG(WARNING) << "CryptAuth request failed: " << error_message;
- base::StringValue error_string(error_message);
+ base::Value error_string(error_message);
web_ui()->CallJavascriptFunctionUnsafe("CryptAuthInterface.onError",
error_string);
}

Powered by Google App Engine
This is Rietveld 408576698