| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "storage/browser/blob/blob_storage_registry.h" | 5 #include "storage/browser/blob/blob_storage_registry.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "storage/browser/blob/blob_entry.h" | 8 #include "storage/browser/blob/blob_entry.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // Both urls point to the same blob. | 72 // Both urls point to the same blob. |
| 73 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob)); | 73 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob)); |
| 74 std::string uuid2; | 74 std::string uuid2; |
| 75 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid), | 75 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid), |
| 76 registry.GetEntryFromURL(kURL2, &uuid2)); | 76 registry.GetEntryFromURL(kURL2, &uuid2)); |
| 77 EXPECT_EQ(uuid, uuid2); | 77 EXPECT_EQ(uuid, uuid2); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace | 80 } // namespace |
| 81 } // namespace storage | 81 } // namespace storage |
| OLD | NEW |