Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: content/browser/host_zoom_map_impl_unittest.cc

Issue 9296041: Create Content API around HostZoomMap. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/host_zoom_map_impl.cc ('k') | content/browser/host_zoom_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/host_zoom_map_impl_unittest.cc
===================================================================
--- content/browser/host_zoom_map_impl_unittest.cc (revision 119530)
+++ content/browser/host_zoom_map_impl_unittest.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/host_zoom_map.h"
+#include "content/browser/host_zoom_map_impl.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
@@ -21,7 +21,7 @@
};
TEST_F(HostZoomMapTest, GetSetZoomLevel) {
- scoped_refptr<HostZoomMap> host_zoom_map = new HostZoomMap;
+ scoped_refptr<HostZoomMapImpl> host_zoom_map = new HostZoomMapImpl;
double zoomed = 2.5;
host_zoom_map->SetZoomLevel("zoomed.com", zoomed);
@@ -29,4 +29,3 @@
EXPECT_DOUBLE_EQ(host_zoom_map->GetZoomLevel("normal.com"), 0);
EXPECT_DOUBLE_EQ(host_zoom_map->GetZoomLevel("zoomed.com"), zoomed);
}
-
« no previous file with comments | « content/browser/host_zoom_map_impl.cc ('k') | content/browser/host_zoom_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698