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

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: Fix style Created 9 years, 2 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/renderer/page_load_histograms.h
diff --git a/chrome/renderer/page_load_histograms.h b/chrome/renderer/page_load_histograms.h
index d06539e6c0941d76cde521da260699ecacd7165b..cd6869535caa51e75726db18f8e65552675c3991 100644
--- a/chrome/renderer/page_load_histograms.h
+++ b/chrome/renderer/page_load_histograms.h
@@ -6,14 +6,11 @@
#define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_
#include "base/basictypes.h"
+#include "content/public/renderer/navigation_state.h"
#include "content/public/renderer/render_view_observer.h"
class RendererHistogramSnapshots;
-namespace content {
-class NavigationState;
-}
-
class PageLoadHistograms : public content::RenderViewObserver {
public:
PageLoadHistograms(content::RenderView* render_view,
@@ -47,7 +44,7 @@ class PageLoadHistograms : public content::RenderViewObserver {
void ResetCrossFramePropertyAccess();
- void LogPageLoadTime(const content::NavigationState* state,
+ void LogPageLoadTime(const content::NavigationState::LoadTimes* load_times,
const WebKit::WebDataSource* ds) const;
// Site isolation metric counts.

Powered by Google App Engine
This is Rietveld 408576698