| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/host_zoom_map_impl.h" | 5 #include "content/browser/host_zoom_map_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
| 7 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 8 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 9 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 10 #include "content/public/test/test_browser_thread.h" | 13 #include "content/public/test/test_browser_thread.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 15 |
| 13 namespace content { | 16 namespace content { |
| 14 | 17 |
| 15 class HostZoomMapTest : public testing::Test { | 18 class HostZoomMapTest : public testing::Test { |
| 16 public: | 19 public: |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 for (size_t i = 0; i < arraysize(expected); ++i) { | 79 for (size_t i = 0; i < arraysize(expected); ++i) { |
| 77 SCOPED_TRACE(testing::Message() << "levels[" << i << "]"); | 80 SCOPED_TRACE(testing::Message() << "levels[" << i << "]"); |
| 78 EXPECT_EQ(expected[i].mode, levels[i].mode); | 81 EXPECT_EQ(expected[i].mode, levels[i].mode); |
| 79 EXPECT_EQ(expected[i].scheme, levels[i].scheme); | 82 EXPECT_EQ(expected[i].scheme, levels[i].scheme); |
| 80 EXPECT_EQ(expected[i].host, levels[i].host); | 83 EXPECT_EQ(expected[i].host, levels[i].host); |
| 81 EXPECT_EQ(expected[i].zoom_level, levels[i].zoom_level); | 84 EXPECT_EQ(expected[i].zoom_level, levels[i].zoom_level); |
| 82 } | 85 } |
| 83 } | 86 } |
| 84 | 87 |
| 85 } // namespace content | 88 } // namespace content |
| OLD | NEW |