Index: content/child/blob_storage/blob_transport_controller_unittest.cc |
diff --git a/content/child/blob_storage/blob_transport_controller_unittest.cc b/content/child/blob_storage/blob_transport_controller_unittest.cc |
index c527a047800cebbec3d10ab793fa53df09d7893f..528fc31429d3b513a209b924c5250f4872c6087e 100644 |
--- a/content/child/blob_storage/blob_transport_controller_unittest.cc |
+++ b/content/child/blob_storage/blob_transport_controller_unittest.cc |
@@ -129,21 +129,15 @@ class BlobTransportControllerTest : public testing::Test { |
const std::string& expected_content_type, |
std::vector<DataElement>* descriptions) { |
const IPC::Message* register_message = |
- sink_.GetUniqueMessageMatching(BlobStorageMsg_RegisterBlobUUID::ID); |
- const IPC::Message* start_message = |
- sink_.GetUniqueMessageMatching(BlobStorageMsg_StartBuildingBlob::ID); |
+ sink_.GetUniqueMessageMatching(BlobStorageMsg_RegisterBlob::ID); |
ASSERT_TRUE(register_message); |
- ASSERT_TRUE(start_message); |
- std::tuple<std::string, std::string, std::string, std::set<std::string>> |
+ std::tuple<std::string, std::string, std::string, std::vector<DataElement>> |
register_contents; |
- std::tuple<std::string, std::vector<DataElement>> start_contents; |
- BlobStorageMsg_RegisterBlobUUID::Read(register_message, ®ister_contents); |
- BlobStorageMsg_StartBuildingBlob::Read(start_message, &start_contents); |
+ BlobStorageMsg_RegisterBlob::Read(register_message, ®ister_contents); |
EXPECT_EQ(expected_uuid, std::get<0>(register_contents)); |
- EXPECT_EQ(expected_uuid, std::get<0>(start_contents)); |
EXPECT_EQ(expected_content_type, std::get<1>(register_contents)); |
if (descriptions) |
- *descriptions = std::get<1>(start_contents); |
+ *descriptions = std::get<3>(register_contents); |
// We don't have dispositions from the renderer. |
EXPECT_TRUE(std::get<2>(register_contents).empty()); |
sink_.ClearMessages(); |