Lines Matching defs:prerender_manager
6 #include "chrome/browser/prerender/prerender_manager.h"
24 PrerenderManager* prerender_manager() { return &prerender_manager_; }
38 EXPECT_FALSE(prerender_manager()->IsWebContentsPrerendered(
42 prerender_manager()->MarkWebContentsAsPrerendered(web_contents, origin);
45 EXPECT_TRUE(prerender_manager()->IsWebContentsPrerendered(
51 EXPECT_FALSE(prerender_manager()->IsWebContentsPrerendered(
56 prerender_manager()->MarkWebContentsAsNotPrerendered(web_contents);
57 EXPECT_FALSE(prerender_manager()->IsWebContentsPrerendered(
68 EXPECT_FALSE(prerender_manager()->WouldWebContentsBePrerendered(
72 prerender_manager()->MarkWebContentsAsWouldBePrerendered(web_contents,
76 EXPECT_TRUE(prerender_manager()->WouldWebContentsBePrerendered(
83 EXPECT_FALSE(prerender_manager()->WouldWebContentsBePrerendered(
87 // the comment in prerender_manager.cc at the definition of
89 prerender_manager()->MarkWebContentsAsNotPrerendered(web_contents);
90 EXPECT_TRUE(prerender_manager()->WouldWebContentsBePrerendered(
93 prerender_manager()->MarkWebContentsAsNotPrerendered(web_contents);
94 EXPECT_FALSE(prerender_manager()->WouldWebContentsBePrerendered(