| OLD | NEW |
| 1 // Copyright (c) 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 "chrome/browser/page_load_metrics/metrics_web_contents_observer.h" | 5 #include "chrome/browser/page_load_metrics/metrics_web_contents_observer.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 web_contents_tester->NavigateAndCommit(GURL(kDefaultTestUrl2)); | 610 web_contents_tester->NavigateAndCommit(GURL(kDefaultTestUrl2)); |
| 611 ASSERT_EQ(std::vector<GURL>({GURL(kDefaultTestUrl)}), | 611 ASSERT_EQ(std::vector<GURL>({GURL(kDefaultTestUrl)}), |
| 612 completed_filtered_urls()); | 612 completed_filtered_urls()); |
| 613 | 613 |
| 614 web_contents_tester->NavigateAndCommit(GURL(kDefaultTestUrl)); | 614 web_contents_tester->NavigateAndCommit(GURL(kDefaultTestUrl)); |
| 615 ASSERT_EQ(std::vector<GURL>({GURL(kDefaultTestUrl), GURL(kDefaultTestUrl2)}), | 615 ASSERT_EQ(std::vector<GURL>({GURL(kDefaultTestUrl), GURL(kDefaultTestUrl2)}), |
| 616 completed_filtered_urls()); | 616 completed_filtered_urls()); |
| 617 } | 617 } |
| 618 | 618 |
| 619 } // namespace page_load_metrics | 619 } // namespace page_load_metrics |
| OLD | NEW |