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

Unified Diff: content/renderer/peripheral_content_heuristic_unittest.cc

Issue 2765633002: Plugin Power Saver Tiny: Treat completely obscured plugins as Tiny. (Closed)
Patch Set: Created 3 years, 9 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/renderer/peripheral_content_heuristic.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/peripheral_content_heuristic_unittest.cc
diff --git a/content/renderer/peripheral_content_heuristic_unittest.cc b/content/renderer/peripheral_content_heuristic_unittest.cc
index f65cde75abe546c7df85c3bfcd7bf8092ca03f1e..bd85c65e4ea1e6f874db015c356bcd4898036a97 100644
--- a/content/renderer/peripheral_content_heuristic_unittest.cc
+++ b/content/renderer/peripheral_content_heuristic_unittest.cc
@@ -99,7 +99,8 @@ TEST(PeripheralContentHeuristic, UndefinedSize) {
whitelist, url::Origin(GURL(kSameOrigin)),
url::Origin(GURL(kOtherOrigin)), gfx::Size()));
- EXPECT_EQ(RenderFrame::CONTENT_STATUS_UNKNOWN_SIZE,
+ // Undefined size plugins are now marked as Tiny.
+ EXPECT_EQ(RenderFrame::CONTENT_STATUS_TINY,
PeripheralContentHeuristic::GetPeripheralStatus(
std::set<url::Origin>(), url::Origin(GURL(kSameOrigin)),
url::Origin(GURL(kOtherOrigin)), gfx::Size()));
« no previous file with comments | « content/renderer/peripheral_content_heuristic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698