| 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 "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // Both urls point to the same blob. | 75 // Both urls point to the same blob. |
| 76 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob)); | 76 EXPECT_TRUE(registry.CreateUrlMapping(kURL2, kBlob)); |
| 77 std::string uuid2; | 77 std::string uuid2; |
| 78 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid), | 78 EXPECT_EQ(registry.GetEntryFromURL(kURL, &uuid), |
| 79 registry.GetEntryFromURL(kURL2, &uuid2)); | 79 registry.GetEntryFromURL(kURL2, &uuid2)); |
| 80 EXPECT_EQ(uuid, uuid2); | 80 EXPECT_EQ(uuid, uuid2); |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace | 83 } // namespace |
| 84 } // namespace storage | 84 } // namespace storage |
| OLD | NEW |