Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / mod_pagespeed / mod_pagespeed_metrics.h
blob16831b134fb6e9d987d4b439cf4f6e419a14632b
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"
10 class GURL;
12 namespace net {
13 class HttpResponseHeaders;
16 namespace mod_pagespeed {
18 // Records metrics about mod_pagespeed headers.
20 // See
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_