OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 | |
6 #include <memory> | 5 #include <memory> |
7 #include <string> | 6 #include <string> |
8 #include <utility> | 7 #include <utility> |
9 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
10 #include "core/dom/Element.h" | 9 #include "core/dom/Element.h" |
11 #include "core/testing/DummyPageHolder.h" | 10 #include "core/testing/DummyPageHolder.h" |
12 #include "modules/document_metadata/CopylessPasteExtractor.h" | 11 #include "modules/document_metadata/CopylessPasteExtractor.h" |
13 #include "platform/json/JSONValues.h" | 12 #include "platform/json/JSONValues.h" |
14 #include "public/platform/modules/document_metadata/copyless_paste.mojom-blink.h
" | 13 #include "public/platform/modules/document_metadata/copyless_paste.mojom-blink.h
" |
15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 | 824 |
826 restaurant->properties.push_back( | 825 restaurant->properties.push_back( |
827 createEntityProperty("1", std::move(entity1))); | 826 createEntityProperty("1", std::move(entity1))); |
828 | 827 |
829 expected->entities.push_back(std::move(restaurant)); | 828 expected->entities.push_back(std::move(restaurant)); |
830 EXPECT_EQ(expected, extracted); | 829 EXPECT_EQ(expected, extracted); |
831 } | 830 } |
832 | 831 |
833 } // namespace | 832 } // namespace |
834 } // namespace blink | 833 } // namespace blink |
OLD | NEW |