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

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

Issue 1051463003: Move mod_pagespeed metrics out of prerender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky comments Created 5 years, 8 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_util.h
diff --git a/chrome/browser/prerender/prerender_util.h b/chrome/browser/prerender/prerender_util.h
index 7394501f5a97fe8ad6fe14c5da643979e2420a84..6dae141e61c892e479dfd32571bb390ee61f1563 100644
--- a/chrome/browser/prerender/prerender_util.h
+++ b/chrome/browser/prerender/prerender_util.h
@@ -6,14 +6,8 @@
#define CHROME_BROWSER_PRERENDER_PRERENDER_UTIL_H_
#include "base/basictypes.h"
-#include "content/public/common/resource_type.h"
#include "url/gurl.h"
-namespace net {
-class HttpResponseHeaders;
-class URLRequest;
-}
-
namespace prerender {
extern const char kChromeNavigateExtraDataKey[];
@@ -48,17 +42,6 @@ bool IsNoSwapInExperiment(uint8 experiment_id);
// iff this is the case for the experiment_id specified.
bool IsControlGroupExperiment(uint8 experiment_id);
-// Called by URLRequestResponseStarted to gather data about Pagespeed headers
-// into the Prerender.PagespeedHeader histogram. Public so it can be accessed
-// by the unit test.
-void GatherPagespeedData(const content::ResourceType resource_type,
- const GURL& request_url,
- const net::HttpResponseHeaders* response_headers);
-
-// Static method gathering stats about a URLRequest for which a response has
-// just started.
-void URLRequestResponseStarted(net::URLRequest* request);
-
// Report a URL was canceled due to trying to handle an external URL.
void ReportPrerenderExternalURL();
« no previous file with comments | « chrome/browser/mod_pagespeed/mod_pagespeed_metrics_unittest.cc ('k') | chrome/browser/prerender/prerender_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698