Index: chrome/browser/mod_pagespeed_metrics.h |
diff --git a/chrome/browser/mod_pagespeed_metrics.h b/chrome/browser/mod_pagespeed_metrics.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..20501eca97c9ab7600ba7b552bc4968fdb05917f |
--- /dev/null |
+++ b/chrome/browser/mod_pagespeed_metrics.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_MOD_PAGESPEED_METRICS_H_ |
sky
2015/03/31 23:51:55
In hopes of not dumping more in chrome/browser, ho
davidben
2015/04/08 21:07:46
Done.
|
+#define CHROME_BROWSER_MOD_PAGESPEED_METRICS_H_ |
+ |
+#include "content/public/common/resource_type.h" |
+ |
+class GURL; |
+ |
+namespace net { |
+class HttpResponseHeaders; |
+} |
+ |
+// Records metrics about mod_pagespeed headers. |
sky
2015/03/31 23:51:55
Can you point to where one would look for what mod
davidben
2015/04/08 21:07:46
Done.
|
+void RecordModPagespeedMetrics( |
+ const content::ResourceType resource_type, |
+ const GURL& request_url, |
+ const net::HttpResponseHeaders* response_headers); |
+ |
+#endif // CHROME_BROWSER_MOD_PAGESPEED_METRICS_H_ |