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

Unified Diff: net/test/spawned_test_server/base_test_server.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 | « net/spdy/spdy_network_transaction_unittest.cc ('k') | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/spawned_test_server/base_test_server.cc
diff --git a/net/test/spawned_test_server/base_test_server.cc b/net/test/spawned_test_server/base_test_server.cc
index c3ffc07bc58e88a53864ffe4d5e2c48f3b2497e3..afc77f3758947d116ce863d55bad3967403b5b26 100644
--- a/net/test/spawned_test_server/base_test_server.cc
+++ b/net/test/spawned_test_server/base_test_server.cc
@@ -84,18 +84,18 @@ void GetCiphersList(int cipher, base::ListValue* values) {
values->AppendString("aes128gcm");
}
-base::StringValue* GetTLSIntoleranceType(
+base::Value* GetTLSIntoleranceType(
BaseTestServer::SSLOptions::TLSIntoleranceType type) {
switch (type) {
case BaseTestServer::SSLOptions::TLS_INTOLERANCE_ALERT:
- return new base::StringValue("alert");
+ return new base::Value("alert");
case BaseTestServer::SSLOptions::TLS_INTOLERANCE_CLOSE:
- return new base::StringValue("close");
+ return new base::Value("close");
case BaseTestServer::SSLOptions::TLS_INTOLERANCE_RESET:
- return new base::StringValue("reset");
+ return new base::Value("reset");
default:
NOTREACHED();
- return new base::StringValue("");
+ return new base::Value("");
}
}
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698