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

Unified Diff: chrome/browser/mod_pagespeed_metrics.h

Issue 1051463003: Move mod_pagespeed metrics out of prerender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | chrome/browser/mod_pagespeed_metrics.cc » ('j') | chrome/browser/mod_pagespeed_metrics.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | chrome/browser/mod_pagespeed_metrics.cc » ('j') | chrome/browser/mod_pagespeed_metrics.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698