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

Unified Diff: chrome/browser/ui/webui/version_handler_chromeos.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
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/webui_webview_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/version_handler_chromeos.cc
diff --git a/chrome/browser/ui/webui/version_handler_chromeos.cc b/chrome/browser/ui/webui/version_handler_chromeos.cc
index f61d780d0ea5642c987af0231861a9a82fd3d8ec..676496b759d9b1f546878a03a160f1ce1b6c4b2b 100644
--- a/chrome/browser/ui/webui/version_handler_chromeos.cc
+++ b/chrome/browser/ui/webui/version_handler_chromeos.cc
@@ -40,16 +40,16 @@ void VersionHandlerChromeOS::HandleRequestVersionInfo(
}
void VersionHandlerChromeOS::OnVersion(const std::string& version) {
- base::StringValue arg(version);
+ base::Value arg(version);
web_ui()->CallJavascriptFunctionUnsafe("returnOsVersion", arg);
}
void VersionHandlerChromeOS::OnOSFirmware(const std::string& version) {
- base::StringValue arg(version);
+ base::Value arg(version);
web_ui()->CallJavascriptFunctionUnsafe("returnOsFirmwareVersion", arg);
}
void VersionHandlerChromeOS::OnARCVersion(const std::string& version) {
- base::StringValue arg(version);
+ base::Value arg(version);
web_ui()->CallJavascriptFunctionUnsafe("returnARCVersion", arg);
}
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/webui_webview_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698