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

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

Issue 2304953002: NoState Prefetch: nostate prefetch browser tests. (Closed)
Patch Set: All browser tests added and cleaned up for prefetch-specific issues. Created 4 years, 3 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
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index 9e08bafe8a8b7f67f6302966b9045db5c892e9c0..6098e5bc5b3b5ae7549d23359871df84ff361bd6 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -204,7 +204,7 @@ class PrerenderContents : public content::NotificationObserver,
// Sets the final status, calls OnDestroy and adds |this| to the
// PrerenderManager's pending deletes list.
- void Destroy(FinalStatus reason);
+ virtual void Destroy(FinalStatus reason);
droger 2016/09/20 10:57:19 Add a comment: // Virtual for testing. I think it
mattcary 2016/09/21 08:45:10 That's not a bad idea. Why multiply observers if w
// Called by the history tab helper with the information that it woudl have
// added to the history service had this web contents not been used for

Powered by Google App Engine
This is Rietveld 408576698