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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.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: chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc
index 626961b4ea379a56f6315112570a6b42df03857b..5d53704782b38890ba477a1b321f40148d9def74 100644
--- a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc
@@ -457,7 +457,7 @@ TEST_F(MediaRouterWebUIMessageHandlerTest, OnCreateRouteResponseReceived) {
EXPECT_EQ("media_router.ui.onCreateRouteResponseReceived",
call_data.function_name());
const base::Value* arg1 = call_data.arg1();
- const base::StringValue* sink_id_value = nullptr;
+ const base::Value* sink_id_value = nullptr;
ASSERT_TRUE(arg1->GetAsString(&sink_id_value));
EXPECT_EQ(sink_id, sink_id_value->GetString());
@@ -512,7 +512,7 @@ TEST_F(MediaRouterWebUIMessageHandlerTest,
EXPECT_EQ("media_router.ui.onCreateRouteResponseReceived",
call_data.function_name());
const base::Value* arg1 = call_data.arg1();
- const base::StringValue* sink_id_value = nullptr;
+ const base::Value* sink_id_value = nullptr;
ASSERT_TRUE(arg1->GetAsString(&sink_id_value));
EXPECT_EQ(sink_id, sink_id_value->GetString());

Powered by Google App Engine
This is Rietveld 408576698