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

Unified Diff: chrome/renderer/page_load_histograms.h

Issue 8404018: chrome.loadTimes() shouldn't be affected by in-document navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge Created 9 years, 1 month 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/renderer/loadtimes_extension_bindings_uitest.cc ('k') | chrome/renderer/page_load_histograms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/page_load_histograms.h
diff --git a/chrome/renderer/page_load_histograms.h b/chrome/renderer/page_load_histograms.h
index d06539e6c0941d76cde521da260699ecacd7165b..ccf3ddbdc0da5c1f97a9e7b2cfd5cc744216a7c0 100644
--- a/chrome/renderer/page_load_histograms.h
+++ b/chrome/renderer/page_load_histograms.h
@@ -8,12 +8,12 @@
#include "base/basictypes.h"
#include "content/public/renderer/render_view_observer.h"
-class RendererHistogramSnapshots;
-
namespace content {
-class NavigationState;
+class DocumentState;
}
+class RendererHistogramSnapshots;
+
class PageLoadHistograms : public content::RenderViewObserver {
public:
PageLoadHistograms(content::RenderView* render_view,
@@ -47,7 +47,7 @@ class PageLoadHistograms : public content::RenderViewObserver {
void ResetCrossFramePropertyAccess();
- void LogPageLoadTime(const content::NavigationState* state,
+ void LogPageLoadTime(const content::DocumentState* load_times,
const WebKit::WebDataSource* ds) const;
// Site isolation metric counts.
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings_uitest.cc ('k') | chrome/renderer/page_load_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698