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

Unified Diff: chrome/browser/prerender/prerender_manager.h

Issue 2044613003: Adds unit tests for offline_pages::PrerenderAdapter calling PrerenderManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing override Created 4 years, 6 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 | « chrome/browser/android/offline_pages/prerender_adapter_unittest.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_manager.h
diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h
index 9ed133e1e47da0f834547c3440cdc62306aa096c..510f10d321c97ccaaed6411837bb1fdf40aa900c 100644
--- a/chrome/browser/prerender/prerender_manager.h
+++ b/chrome/browser/prerender/prerender_manager.h
@@ -55,6 +55,10 @@ namespace gfx {
class Size;
}
+namespace offline_pages {
+class PrerenderAdapterTest;
+}
+
namespace prerender {
class PrerenderHandle;
@@ -394,6 +398,7 @@ class PrerenderManager : public base::SupportsWeakPtr<PrerenderManager>,
friend class PrerenderContents;
friend class PrerenderHandle;
friend class UnitTestPrerenderManager;
+ friend class offline_pages::PrerenderAdapterTest;
mmenke 2016/06/11 00:40:32 Is this still needed? If so, I recommend adding B
dougarnett 2016/06/12 16:43:09 SetPrerenderContentsFactory() is what the test nee
mmenke 2016/06/13 14:52:59 Could you please rename it to SetPrerenderContents
class OnCloseWebContentsDeleter;
struct NavigationRecord;
« no previous file with comments | « chrome/browser/android/offline_pages/prerender_adapter_unittest.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698