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

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

Issue 7741002: Add code to keep track of what fraction of pageviews are top sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/prerender/prerender_manager.cc ('k') | chrome/browser/prerender/prerender_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_observer.h
===================================================================
--- chrome/browser/prerender/prerender_observer.h (revision 98138)
+++ chrome/browser/prerender/prerender_observer.h (working copy)
@@ -46,7 +46,7 @@
void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
// Retrieves the PrerenderManager, or NULL, if none was found.
- PrerenderManager* MaybeGetPrerenderManager();
+ PrerenderManager* MaybeGetPrerenderManager() const;
// Checks with the PrerenderManager if the specified URL has been preloaded,
// and if so, swap the RenderViewHost with the preload into this TabContents
@@ -61,6 +61,8 @@
// Also resets the hover to no hover.
void MaybeLogCurrentHover(bool was_used);
+ bool IsTopSite(const GURL& url) const;
+
// TabContentsWrapper we're created for.
TabContentsWrapper* tab_;
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | chrome/browser/prerender/prerender_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698