1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_
6 #define CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_
8 #include "content/public/common/resource_type.h"
13 class HttpResponseHeaders
;
16 namespace mod_pagespeed
{
18 // Records metrics about mod_pagespeed headers.
21 // https://developers.google.com/speed/pagespeed/module/configuration#XHeaderValue
22 void RecordMetrics(const content::ResourceType resource_type
,
23 const GURL
& request_url
,
24 const net::HttpResponseHeaders
* response_headers
);
26 } // namespace mod_pagespeed
28 #endif // CHROME_BROWSER_MOD_PAGESPEED_MOD_PAGESPEED_METRICS_H_