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

Unified Diff: chromecast/base/serializers_unittest.cc

Issue 2799093006: Remove base::BinaryValue (Closed)
Patch Set: Rebase Created 3 years, 8 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: chromecast/base/serializers_unittest.cc
diff --git a/chromecast/base/serializers_unittest.cc b/chromecast/base/serializers_unittest.cc
index 8dc9b071025b400d87b62e321348f2c2f4609754..5e3d751827fabe845edbdd16d2f2db01557918b7 100644
--- a/chromecast/base/serializers_unittest.cc
+++ b/chromecast/base/serializers_unittest.cc
@@ -55,7 +55,7 @@ TEST(DeserializeFromJson, PoorlyFormedJsonObject) {
}
TEST(SerializeToJson, BadValue) {
- base::BinaryValue value(std::vector<char>(12));
+ base::Value value(std::vector<char>(12));
std::unique_ptr<std::string> str = SerializeToJson(value);
EXPECT_EQ(nullptr, str.get());
}
@@ -118,7 +118,7 @@ TEST(DeserializeJsonFromFile, PoorlyFormedJsonObject) {
TEST(SerializeJsonToFile, BadValue) {
ScopedTempFile temp;
- base::BinaryValue value(std::vector<char>(12));
+ base::Value value(std::vector<char>(12));
ASSERT_FALSE(SerializeJsonToFile(temp.path(), value));
std::string str(temp.Read());
EXPECT_TRUE(str.empty());
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.cc ('k') | content/browser/renderer_host/pepper/pepper_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698