OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "platform/network/EncodedFormData.h" | 5 #include "platform/network/EncodedFormData.h" |
6 | 6 |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 if (copyElements[i].m_fileSystemURL.getString().impl()) { | 102 if (copyElements[i].m_fileSystemURL.getString().impl()) { |
103 EXPECT_NE(originalElements[i].m_fileSystemURL.getString().impl(), | 103 EXPECT_NE(originalElements[i].m_fileSystemURL.getString().impl(), |
104 copyElements[i].m_fileSystemURL.getString().impl()); | 104 copyElements[i].m_fileSystemURL.getString().impl()); |
105 EXPECT_TRUE( | 105 EXPECT_TRUE( |
106 copyElements[i].m_fileSystemURL.getString().impl()->hasOneRef()); | 106 copyElements[i].m_fileSystemURL.getString().impl()->hasOneRef()); |
107 } | 107 } |
108 | 108 |
109 EXPECT_EQ(nullptr, copyElements[i].m_fileSystemURL.innerURL()); | 109 EXPECT_EQ(nullptr, copyElements[i].m_fileSystemURL.innerURL()); |
110 | 110 |
111 // m_optionalBlobDataHandle is not checked, because BlobDataHandle is Thread
SafeRefCounted. | 111 // m_optionalBlobDataHandle is not checked, because BlobDataHandle is |
| 112 // ThreadSafeRefCounted. |
112 } | 113 } |
113 } | 114 } |
114 | 115 |
115 } // namespace | 116 } // namespace |
116 | 117 |
117 } // namespace blink | 118 } // namespace blink |
OLD | NEW |